diff options
Diffstat (limited to 'src/mongo/db/exec/pipeline_proxy.h')
-rw-r--r-- | src/mongo/db/exec/pipeline_proxy.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mongo/db/exec/pipeline_proxy.h b/src/mongo/db/exec/pipeline_proxy.h index 4de2f947a32..68a33c0170e 100644 --- a/src/mongo/db/exec/pipeline_proxy.h +++ b/src/mongo/db/exec/pipeline_proxy.h @@ -30,8 +30,6 @@ #include <boost/optional/optional.hpp> #include <boost/intrusive_ptr.hpp> -#include <boost/shared_ptr.hpp> -#include <boost/weak_ptr.hpp> #include "mongo/db/catalog/collection.h" #include "mongo/db/exec/plan_stage.h" @@ -47,7 +45,7 @@ namespace mongo { class PipelineProxyStage : public PlanStage { public: PipelineProxyStage(boost::intrusive_ptr<Pipeline> pipeline, - const boost::shared_ptr<PlanExecutor>& child, + const std::shared_ptr<PlanExecutor>& child, WorkingSet* ws); virtual PlanStage::StageState work(WorkingSetID* out); @@ -72,7 +70,7 @@ namespace mongo { * Return a shared pointer to the PlanExecutor that feeds the pipeline. The returned * pointer may be NULL. */ - boost::shared_ptr<PlanExecutor> getChildExecutor(); + std::shared_ptr<PlanExecutor> getChildExecutor(); // Returns empty PlanStageStats object virtual PlanStageStats* getStats(); @@ -98,7 +96,7 @@ namespace mongo { const boost::intrusive_ptr<Pipeline> _pipeline; std::vector<BSONObj> _stash; const bool _includeMetaData; - boost::weak_ptr<PlanExecutor> _childExec; + std::weak_ptr<PlanExecutor> _childExec; // Not owned by us. WorkingSet* _ws; |