diff options
Diffstat (limited to 'src/mongo/db/exec/near.h')
-rw-r--r-- | src/mongo/db/exec/near.h | 7 |
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; |