diff options
Diffstat (limited to 'src/mongo/db/storage/kv/kv_database_catalog_entry.h')
-rw-r--r-- | src/mongo/db/storage/kv/kv_database_catalog_entry.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mongo/db/storage/kv/kv_database_catalog_entry.h b/src/mongo/db/storage/kv/kv_database_catalog_entry.h index fb522120491..fc5fb39adbd 100644 --- a/src/mongo/db/storage/kv/kv_database_catalog_entry.h +++ b/src/mongo/db/storage/kv/kv_database_catalog_entry.h @@ -33,9 +33,6 @@ #include <map> #include <string> -#include <boost/scoped_ptr.hpp> -#include <boost/thread/mutex.hpp> - #include "mongo/db/catalog/database_catalog_entry.h" namespace mongo { @@ -95,10 +92,10 @@ namespace mongo { class AddCollectionChange; class RemoveCollectionChange; - KVStorageEngine* _engine; // not owned here + typedef std::map<std::string, KVCollectionCatalogEntry*> CollectionMap; + - typedef std::map<std::string,KVCollectionCatalogEntry*> CollectionMap; + KVStorageEngine* const _engine; // not owned here CollectionMap _collections; - mutable boost::mutex _collectionsLock; }; } |