diff options
Diffstat (limited to 'src/mongo/db/exec/idhack.cpp')
-rw-r--r-- | src/mongo/db/exec/idhack.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/exec/idhack.cpp b/src/mongo/db/exec/idhack.cpp index 652906bfc5d..b54a9d06a52 100644 --- a/src/mongo/db/exec/idhack.cpp +++ b/src/mongo/db/exec/idhack.cpp @@ -31,6 +31,8 @@ #include "mongo/db/exec/idhack.h" +#include <memory> + #include "mongo/db/catalog/index_catalog.h" #include "mongo/db/concurrency/write_conflict_exception.h" #include "mongo/db/exec/index_scan.h" @@ -39,13 +41,11 @@ #include "mongo/db/exec/working_set_common.h" #include "mongo/db/exec/working_set_computed_data.h" #include "mongo/db/index/btree_access_method.h" -#include "mongo/stdx/memory.h" namespace mongo { using std::unique_ptr; using std::vector; -using stdx::make_unique; // static const char* IDHackStage::kStageType = "IDHACK"; @@ -173,8 +173,8 @@ bool IDHackStage::supportsQuery(Collection* collection, const CanonicalQuery& qu unique_ptr<PlanStageStats> IDHackStage::getStats() { _commonStats.isEOF = isEOF(); - unique_ptr<PlanStageStats> ret = make_unique<PlanStageStats>(_commonStats, STAGE_IDHACK); - ret->specific = make_unique<IDHackStats>(_specificStats); + unique_ptr<PlanStageStats> ret = std::make_unique<PlanStageStats>(_commonStats, STAGE_IDHACK); + ret->specific = std::make_unique<IDHackStats>(_specificStats); return ret; } |