summaryrefslogtreecommitdiff
path: root/src/mongo/s/write_ops/batched_command_response_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/write_ops/batched_command_response_test.cpp')
-rw-r--r--src/mongo/s/write_ops/batched_command_response_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/write_ops/batched_command_response_test.cpp b/src/mongo/s/write_ops/batched_command_response_test.cpp
index c36f734a193..757961a5348 100644
--- a/src/mongo/s/write_ops/batched_command_response_test.cpp
+++ b/src/mongo/s/write_ops/batched_command_response_test.cpp
@@ -156,7 +156,7 @@ TEST(BatchedCommandResponseTest, TooManyBigErrors) {
}
TEST(BatchedCommandResponseTest, CompatibilityFromWriteErrorToBatchCommandResponse) {
- ChunkVersion versionReceived({OID::gen(), Timestamp(2, 0)}, {1, 0});
+ ShardVersion versionReceived(ChunkVersion({OID::gen(), Timestamp(2, 0)}, {1, 0}));
write_ops::UpdateCommandReply reply;
reply.getWriteCommandReplyBase().setN(1);