summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/group.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/group.h')
-rw-r--r--src/mongo/db/exec/group.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/group.h b/src/mongo/db/exec/group.h
index dcf96570cbe..2b2e5bb3d04 100644
--- a/src/mongo/db/exec/group.h
+++ b/src/mongo/db/exec/group.h
@@ -151,7 +151,7 @@ namespace mongo {
// The Scope object that all script operations for this group stage will use. Initialized
// by initGroupScripting(). Owned here.
- std::auto_ptr<Scope> _scope;
+ std::unique_ptr<Scope> _scope;
// The reduce function for the group operation. Initialized by initGroupScripting(). Owned
// by _scope.