diff options
Diffstat (limited to 'src/mongo/db/s/op_observer_sharding_test.cpp')
-rw-r--r-- | src/mongo/db/s/op_observer_sharding_test.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mongo/db/s/op_observer_sharding_test.cpp b/src/mongo/db/s/op_observer_sharding_test.cpp index b0e6de71d6c..2ae932483e2 100644 --- a/src/mongo/db/s/op_observer_sharding_test.cpp +++ b/src/mongo/db/s/op_observer_sharding_test.cpp @@ -65,17 +65,15 @@ protected: const UUID uuid = UUID::gen(); const OID epoch = OID::gen(); auto range = ChunkRange(BSON("key" << MINKEY), BSON("key" << MAXKEY)); - auto chunk = ChunkType(uuid, - std::move(range), - ChunkVersion(1, 0, epoch, boost::none /* timestamp */), - ShardId("other")); + auto chunk = ChunkType( + uuid, std::move(range), ChunkVersion(1, 0, epoch, Timestamp()), ShardId("other")); auto rt = RoutingTableHistory::makeNew(kTestNss, uuid, KeyPattern(keyPattern), nullptr, false, epoch, - boost::none /* timestamp */, + Timestamp(), boost::none /* timeseriesFields */, boost::none, boost::none /* chunkSizeBytes */, |