diff options
Diffstat (limited to 'src/mongo/db/clientcursor.h')
-rw-r--r-- | src/mongo/db/clientcursor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/clientcursor.h b/src/mongo/db/clientcursor.h index 18e64a4c0fe..b2afdd56e10 100644 --- a/src/mongo/db/clientcursor.h +++ b/src/mongo/db/clientcursor.h @@ -264,7 +264,7 @@ namespace mongo { // Only one of these is not-NULL. RecoveryUnit* _unownedRU; - std::auto_ptr<RecoveryUnit> _ownedRU; + std::unique_ptr<RecoveryUnit> _ownedRU; // NOTE: _ownedRU must come before _exec, because _ownedRU must outlive _exec. // The storage engine can have resources in the PlanExecutor that rely on // the RecoveryUnit being alive. |