| Index: cc/base/scoped_ptr_hash_map.h
|
| diff --git a/cc/base/scoped_ptr_hash_map.h b/cc/base/scoped_ptr_hash_map.h
|
| index 734fb8a117c8e442bb5529b20f793f5ba7e50e0a..3a749a5cd3e507ae4fc3eae15359f3e1de338fd8 100644
|
| --- a/cc/base/scoped_ptr_hash_map.h
|
| +++ b/cc/base/scoped_ptr_hash_map.h
|
| @@ -5,6 +5,9 @@
|
| #ifndef CC_BASE_SCOPED_PTR_HASH_MAP_H_
|
| #define CC_BASE_SCOPED_PTR_HASH_MAP_H_
|
|
|
| +#include <algorithm>
|
| +#include <utility>
|
| +
|
| #include "base/basictypes.h"
|
| #include "base/hash_tables.h"
|
| #include "base/logging.h"
|
| @@ -14,11 +17,12 @@
|
| namespace cc {
|
|
|
| // This type acts like a hash_map<K, scoped_ptr<V> >, based on top of
|
| -// std::hash_map. The ScopedPtrHashMap has ownership of all values in the data
|
| +// base::hash_map. The ScopedPtrHashMap has ownership of all values in the data
|
| // structure.
|
| template <typename Key, typename Value>
|
| class ScopedPtrHashMap {
|
| typedef base::hash_map<Key, Value*> Container;
|
| +
|
| public:
|
| typedef typename Container::iterator iterator;
|
| typedef typename Container::const_iterator const_iterator;
|
|
|