diff options
author | Andrew Morrow <acm@mongodb.com> | 2015-06-10 19:01:38 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2015-06-10 22:38:00 -0400 |
commit | 4035cab6b974613af9eb06ac1a92cc39d6ba8e06 (patch) | |
tree | 15c606e4514037d563fad28de9c091de3d9e473e /src/mongo/db/exec/pipeline_proxy.h | |
parent | 1360f243ee7fa662c0ded25a9bc479aa47388446 (diff) | |
download | mongo-4035cab6b974613af9eb06ac1a92cc39d6ba8e06.tar.gz |
SERVER-17307 Replace boost::shared_ptr and friends with std::shared_ptr
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; |