diff options
Diffstat (limited to 'src/mongo/db/auth/user.cpp')
-rw-r--r-- | src/mongo/db/auth/user.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/auth/user.cpp b/src/mongo/db/auth/user.cpp index 4fcfaf883cb..a2afa97a4e3 100644 --- a/src/mongo/db/auth/user.cpp +++ b/src/mongo/db/auth/user.cpp @@ -87,7 +87,7 @@ namespace mongo { } User* User::clone() const { - std::auto_ptr<User> result(new User(_name)); + std::unique_ptr<User> result(new User(_name)); result->_privileges = _privileges; result->_roles = _roles; result->_credentials = _credentials; |