diff options
Diffstat (limited to 'src/mongo/transport/message_compressor_manager_test.cpp')
-rw-r--r-- | src/mongo/transport/message_compressor_manager_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/transport/message_compressor_manager_test.cpp b/src/mongo/transport/message_compressor_manager_test.cpp index 50da507a2c6..10404e67767 100644 --- a/src/mongo/transport/message_compressor_manager_test.cpp +++ b/src/mongo/transport/message_compressor_manager_test.cpp @@ -50,7 +50,7 @@ MessageCompressorRegistry buildRegistry() { std::vector<std::string> compressorList = {compressor->getName()}; ret.setSupportedCompressors(std::move(compressorList)); ret.registerImplementation(std::move(compressor)); - ret.finalizeSupportedCompressors(); + ret.finalizeSupportedCompressors().transitional_ignore(); return ret; } @@ -92,7 +92,7 @@ void checkFidelity(const Message& msg, std::unique_ptr<MessageCompressorBase> co std::vector<std::string> compressorList = {compressorName}; registry.setSupportedCompressors(std::move(compressorList)); registry.registerImplementation(std::move(compressor)); - registry.finalizeSupportedCompressors(); + registry.finalizeSupportedCompressors().transitional_ignore(); MessageCompressorManager mgr(®istry); auto negotiator = BSON("isMaster" << 1 << "compression" << BSON_ARRAY(compressorName)); |