OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 | 5 |
6 // | 6 // |
7 // Deal with the differences between Microsoft and GNU implemenations | 7 // Deal with the differences between Microsoft and GNU implemenations |
8 // of hash_map. Allows all platforms to use |base::hash_map| and | 8 // of hash_map. Allows all platforms to use |base::hash_map| and |
9 // |base::hash_set|. | 9 // |base::hash_set|. |
10 // eg: | 10 // eg: |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 108 |
109 } // namespace BASE_HASH_NAMESPACE | 109 } // namespace BASE_HASH_NAMESPACE |
110 | 110 |
111 #else // COMPILER | 111 #else // COMPILER |
112 #error define BASE_HASH_NAMESPACE for your compiler | 112 #error define BASE_HASH_NAMESPACE for your compiler |
113 #endif // COMPILER | 113 #endif // COMPILER |
114 | 114 |
115 namespace base { | 115 namespace base { |
116 using BASE_HASH_NAMESPACE::hash_map; | 116 using BASE_HASH_NAMESPACE::hash_map; |
117 using BASE_HASH_NAMESPACE::hash_set; | 117 using BASE_HASH_NAMESPACE::hash_set; |
| 118 using BASE_HASH_NAMESPACE::hash; |
118 } | 119 } |
119 | 120 |
120 #endif // BASE_HASH_TABLES_H_ | 121 #endif // BASE_HASH_TABLES_H_ |
OLD | NEW |