diff options
author | Andrew Morrow <acm@mongodb.com> | 2015-06-10 18:08:48 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2015-06-10 22:37:49 -0400 |
commit | d7d1fdb75966c684e9a42150e6e9b69c4a10ee08 (patch) | |
tree | d28b0767cbd8c1a09535f1676152e7ac57e829ce /src/mongo/db/catalog/collection_info_cache.h | |
parent | a9b6612f5322f916298c19a6728817a1034c6aab (diff) | |
download | mongo-d7d1fdb75966c684e9a42150e6e9b69c4a10ee08.tar.gz |
SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T>
Diffstat (limited to 'src/mongo/db/catalog/collection_info_cache.h')
-rw-r--r-- | src/mongo/db/catalog/collection_info_cache.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/catalog/collection_info_cache.h b/src/mongo/db/catalog/collection_info_cache.h index 5f844fa1ddc..294f371eef0 100644 --- a/src/mongo/db/catalog/collection_info_cache.h +++ b/src/mongo/db/catalog/collection_info_cache.h @@ -30,7 +30,6 @@ #pragma once -#include <boost/scoped_ptr.hpp> #include "mongo/db/query/plan_cache.h" #include "mongo/db/query/query_settings.h" @@ -96,11 +95,11 @@ namespace mongo { UpdateIndexData _indexedPaths; // A cache for query plans. - boost::scoped_ptr<PlanCache> _planCache; + std::unique_ptr<PlanCache> _planCache; // Query settings. // Includes index filters. - boost::scoped_ptr<QuerySettings> _querySettings; + std::unique_ptr<QuerySettings> _querySettings; /** * Must be called under exclusive DB lock. |