summaryrefslogtreecommitdiffstats
path: root/base/id_map.h
diff options
context:
space:
mode:
authordarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-06 21:27:02 +0000
committerdarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-06 21:27:02 +0000
commitee132adb94b58e7ea585b1fadf232aa60810ff1b (patch)
tree71f598a0ed4ea1d7d6e31f3ecf54eefdc4fd2e3b /base/id_map.h
parent1671de4c8e8867be055ff22045afc1d9d946fc84 (diff)
downloadchromium_src-ee132adb94b58e7ea585b1fadf232aa60810ff1b.zip
chromium_src-ee132adb94b58e7ea585b1fadf232aa60810ff1b.tar.gz
chromium_src-ee132adb94b58e7ea585b1fadf232aa60810ff1b.tar.bz2
just some hopefully non-contentious stuff to get out of the way before doing the real MessageLoop changes.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@459 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/id_map.h')
-rw-r--r--base/id_map.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/base/id_map.h b/base/id_map.h
index e945f6a..7335b02 100644
--- a/base/id_map.h
+++ b/base/id_map.h
@@ -30,14 +30,8 @@
#ifndef BASE_ID_MAP_H__
#define BASE_ID_MAP_H__
-// hash map is common (GCC4 and Dinkumware also support it, for example), but
-// is not strictly part of the C++ standard. MS puts it into a funny namespace,
-// although most other vendors seem to use std. This may have to change if
-// other platforms are supported.
-#include <hash_map>
-using stdext::hash_map;
-
#include "base/basictypes.h"
+#include "base/hash_tables.h"
#include "base/logging.h"
// This object maintains a list of IDs that can be quickly converted to
@@ -51,7 +45,7 @@ using stdext::hash_map;
template<class T>
class IDMap {
private:
- typedef hash_map<int32, T*> HashTable;
+ typedef base::hash_map<int32, T*> HashTable;
public:
IDMap() : next_id_(1) {