summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/near.h
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-06-10 18:08:48 -0400
committerAndrew Morrow <acm@mongodb.com>2015-06-10 22:37:49 -0400
commitd7d1fdb75966c684e9a42150e6e9b69c4a10ee08 (patch)
treed28b0767cbd8c1a09535f1676152e7ac57e829ce /src/mongo/db/exec/near.h
parenta9b6612f5322f916298c19a6728817a1034c6aab (diff)
downloadmongo-d7d1fdb75966c684e9a42150e6e9b69c4a10ee08.tar.gz
SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T>
Diffstat (limited to 'src/mongo/db/exec/near.h')
-rw-r--r--src/mongo/db/exec/near.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mongo/db/exec/near.h b/src/mongo/db/exec/near.h
index a3db2c2b126..f21758617ac 100644
--- a/src/mongo/db/exec/near.h
+++ b/src/mongo/db/exec/near.h
@@ -28,7 +28,6 @@
#pragma once
-#include <boost/scoped_ptr.hpp>
#include <queue>
#include "mongo/base/string_data.h"
@@ -193,14 +192,14 @@ namespace mongo {
unordered_map<RecordId, WorkingSetID, RecordId::Hasher> _nextIntervalSeen;
// Stats for the stage covering this interval
- boost::scoped_ptr<IntervalStats> _nextIntervalStats;
+ std::unique_ptr<IntervalStats> _nextIntervalStats;
// Sorted buffered results to be returned - the current interval
struct SearchResult;
std::priority_queue<SearchResult> _resultBuffer;
// Stats
- boost::scoped_ptr<PlanStageStats> _stats;
+ std::unique_ptr<PlanStageStats> _stats;
// The current stage from which this stage should buffer results
// Pointer to the last interval in _childrenIntervals. Owned by _childrenIntervals.
@@ -225,7 +224,7 @@ namespace mongo {
bool inclusiveMax);
// Owned by NearStage
- boost::scoped_ptr<PlanStage> const covering;
+ std::unique_ptr<PlanStage> const covering;
const bool dedupCovering;
const double minDistance;