summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/limit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/limit.h')
-rw-r--r--src/mongo/db/exec/limit.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/exec/limit.h b/src/mongo/db/exec/limit.h
index 484df742439..f3f722fd1a1 100644
--- a/src/mongo/db/exec/limit.h
+++ b/src/mongo/db/exec/limit.h
@@ -28,7 +28,6 @@
#pragma once
-#include <boost/scoped_ptr.hpp>
#include "mongo/db/jsobj.h"
#include "mongo/db/exec/plan_stage.h"
@@ -69,7 +68,7 @@ namespace mongo {
private:
WorkingSet* _ws;
- boost::scoped_ptr<PlanStage> _child;
+ std::unique_ptr<PlanStage> _child;
// We only return this many results.
int _numToReturn;