diff options
Diffstat (limited to 'src/mongo/db/free_mon')
-rw-r--r-- | src/mongo/db/free_mon/free_mon_controller_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/free_mon/free_mon_controller_test.cpp b/src/mongo/db/free_mon/free_mon_controller_test.cpp index 13939a35142..296b3700b93 100644 --- a/src/mongo/db/free_mon/free_mon_controller_test.cpp +++ b/src/mongo/db/free_mon/free_mon_controller_test.cpp @@ -74,7 +74,7 @@ namespace mongo { namespace { auto makeRandom() { - auto seed = SecureRandom::create()->nextInt64(); + auto seed = SecureRandom().nextInt64(); unittest::log() << "PseudoRandom(" << std::showbase << std::hex << seed << std::dec << std::noshowbase << ")"; return PseudoRandom(seed); |