diff options
author | Jack Mulrow <jack.mulrow@mongodb.com> | 2017-03-28 10:32:30 -0400 |
---|---|---|
committer | Jack Mulrow <jack.mulrow@mongodb.com> | 2017-03-30 14:15:39 -0400 |
commit | 325486685538d00adbd61f868c239b3ecc6938c6 (patch) | |
tree | a6f0e7679ebba871e5644ee3c2703ef05f974b9d /src/mongo/db/logical_clock_test_fixture.cpp | |
parent | ba1fa56004826b42bd8fa7d5b5a0c78fc1b57af9 (diff) | |
download | mongo-325486685538d00adbd61f868c239b3ecc6938c6.tar.gz |
SERVER-28432 Move key management out from TimeProofService
Diffstat (limited to 'src/mongo/db/logical_clock_test_fixture.cpp')
-rw-r--r-- | src/mongo/db/logical_clock_test_fixture.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/logical_clock_test_fixture.cpp b/src/mongo/db/logical_clock_test_fixture.cpp index 618da867ee1..6f5860b7a66 100644 --- a/src/mongo/db/logical_clock_test_fixture.cpp +++ b/src/mongo/db/logical_clock_test_fixture.cpp @@ -40,9 +40,7 @@ namespace mongo { void LogicalClockTest::setUp() { auto service = getGlobalServiceContext(); - std::array<std::uint8_t, 20> tempKey = {}; - TimeProofService::Key key(std::move(tempKey)); - auto timeProofService = stdx::make_unique<TimeProofService>(std::move(key)); + auto timeProofService = stdx::make_unique<TimeProofService>(); auto logicalClock = stdx::make_unique<LogicalClock>(service, std::move(timeProofService)); LogicalClock::set(service, std::move(logicalClock)); } |