summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/authentication_commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/authentication_commands.cpp')
-rw-r--r--src/mongo/db/commands/authentication_commands.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/commands/authentication_commands.cpp b/src/mongo/db/commands/authentication_commands.cpp
index 6ebe3f06da8..1e2dc0a2439 100644
--- a/src/mongo/db/commands/authentication_commands.cpp
+++ b/src/mongo/db/commands/authentication_commands.cpp
@@ -33,7 +33,6 @@
#include "mongo/db/commands/authentication_commands.h"
#include <boost/algorithm/string.hpp>
-#include <boost/scoped_ptr.hpp>
#include <string>
#include <vector>
@@ -136,7 +135,7 @@ namespace mongo {
}
SimpleMutex _randMutex; // Synchronizes accesses to _random.
- boost::scoped_ptr<SecureRandom> _random;
+ std::unique_ptr<SecureRandom> _random;
} cmdGetNonce;
void CmdAuthenticate::redactForLogging(mutablebson::Document* cmdObj) {