summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/near.h
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-01-04 12:23:38 -0500
committerAndrew Morrow <acm@mongodb.com>2015-01-05 18:52:20 -0500
commite782819da4ce547272c653ec85984cacf5e60ff2 (patch)
tree4ed2ffdbe2c74634ed836cde991a2bdd2c9f7bf9 /src/mongo/db/exec/near.h
parent0c4d932be42022627cd1e8a826fc69cd3edac23f (diff)
downloadmongo-e782819da4ce547272c653ec85984cacf5e60ff2.tar.gz
SERVER-13256 Remove scoped_ptr from pch.h
Diffstat (limited to 'src/mongo/db/exec/near.h')
-rw-r--r--src/mongo/db/exec/near.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/db/exec/near.h b/src/mongo/db/exec/near.h
index 62741f8014b..126bb04ab3e 100644
--- a/src/mongo/db/exec/near.h
+++ b/src/mongo/db/exec/near.h
@@ -28,6 +28,7 @@
#pragma once
+#include <boost/scoped_ptr.hpp>
#include <queue>
#include "mongo/base/string_data.h"
@@ -179,14 +180,14 @@ namespace mongo {
unordered_map<RecordId, WorkingSetID, RecordId::Hasher> _nextIntervalSeen;
// Stats for the stage covering this interval
- scoped_ptr<IntervalStats> _nextIntervalStats;
+ boost::scoped_ptr<IntervalStats> _nextIntervalStats;
// Sorted buffered results to be returned - the current interval
struct SearchResult;
std::priority_queue<SearchResult> _resultBuffer;
// Stats
- scoped_ptr<PlanStageStats> _stats;
+ boost::scoped_ptr<PlanStageStats> _stats;
// The current stage from which this stage should buffer results
// Pointer to the last interval in _childrenIntervals. Owned by _childrenIntervals.
@@ -211,7 +212,7 @@ namespace mongo {
bool inclusiveMax);
// Owned by NearStage
- scoped_ptr<PlanStage> const covering;
+ boost::scoped_ptr<PlanStage> const covering;
const bool dedupCovering;
const double minDistance;