diff options
Diffstat (limited to 'src/mongo/tools')
-rw-r--r-- | src/mongo/tools/mongoebench_options_init.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/tools/mongoebench_options_init.cpp b/src/mongo/tools/mongoebench_options_init.cpp index 3a661e56b91..4ed8f4d75c5 100644 --- a/src/mongo/tools/mongoebench_options_init.cpp +++ b/src/mongo/tools/mongoebench_options_init.cpp @@ -42,14 +42,15 @@ MONGO_GENERAL_STARTUP_OPTIONS_REGISTER(MongoeBenchOptions)(InitializerContext* c GlobalInitializerRegisterer mongoeBenchOptionsStore( "MongoeBenchOptions_Store", - {"BeginStartupOptionStorage", "EmbeddedOptions_Store"}, - {"EndStartupOptionStorage"}, [](InitializerContext* context) { if (!handlePreValidationMongoeBenchOptions(moe::startupOptionsParsed)) { quickExit(EXIT_SUCCESS); } return storeMongoeBenchOptions(moe::startupOptionsParsed, context->args()); - }); + }, + DeinitializerFunction(nullptr), + {"BeginStartupOptionStorage", "EmbeddedOptions_Store"}, + {"EndStartupOptionStorage"}); } // namespace } // namespace mongo |