summaryrefslogtreecommitdiff
path: root/src/mongo/util/fail_point.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/fail_point.cpp')
-rw-r--r--src/mongo/util/fail_point.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/util/fail_point.cpp b/src/mongo/util/fail_point.cpp
index ef3c2111b2b..0d2a8897123 100644
--- a/src/mongo/util/fail_point.cpp
+++ b/src/mongo/util/fail_point.cpp
@@ -30,7 +30,6 @@
#include "mongo/util/fail_point.h"
-#include <boost/scoped_ptr.hpp>
#include <boost/thread.hpp>
#include "mongo/platform/random.h"
@@ -49,7 +48,7 @@ namespace {
class FailPointPRNG {
public:
FailPointPRNG() :
- _prng(boost::scoped_ptr<SecureRandom>(SecureRandom::create())->nextInt64()) {}
+ _prng(std::unique_ptr<SecureRandom>(SecureRandom::create())->nextInt64()) {}
void resetSeed(int32_t seed) {
_prng = PseudoRandom(seed);