diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2019-04-30 15:46:10 -0400 |
---|---|---|
committer | Billy Donahue <billy.donahue@mongodb.com> | 2019-05-16 16:38:58 -0400 |
commit | 8c4f95e45b8cf32c61f73bc4e2dd3beaa97e190c (patch) | |
tree | 7031f6d306c4c6adfac00c47cd925b729c324d5f /src/mongo/tools | |
parent | 39413ef58dd1f667728b67c86e1bf09146952242 (diff) | |
download | mongo-8c4f95e45b8cf32c61f73bc4e2dd3beaa97e190c.tar.gz |
SERVER-40811 reduce GlobalInitializerRegisterer constructors
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 |