summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/group.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/group.cpp')
-rw-r--r--src/mongo/db/exec/group.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/group.cpp b/src/mongo/db/exec/group.cpp
index d5d3688d4c5..68b21928b62 100644
--- a/src/mongo/db/exec/group.cpp
+++ b/src/mongo/db/exec/group.cpp
@@ -38,7 +38,7 @@
namespace mongo {
- using std::auto_ptr;
+ using std::unique_ptr;
using std::vector;
namespace {
@@ -285,7 +285,7 @@ namespace mongo {
PlanStageStats* GroupStage::getStats() {
_commonStats.isEOF = isEOF();
- auto_ptr<PlanStageStats> ret(new PlanStageStats(_commonStats, STAGE_GROUP));
+ unique_ptr<PlanStageStats> ret(new PlanStageStats(_commonStats, STAGE_GROUP));
GroupStats* groupStats = new GroupStats(_specificStats);
ret->specific.reset(groupStats);
ret->children.push_back(_child->getStats());