diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2020-06-23 00:37:59 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-06-23 06:43:03 +0000 |
commit | eed07779f77fd43ace5d6bf1eb12a117e0434089 (patch) | |
tree | ee73940467b817b9968ab9e1b66b5698541c894e /src/mongo/embedded/mongoc_embedded | |
parent | de515ed57a4cec1b2748618d5b5e62217ac9103a (diff) | |
download | mongo-eed07779f77fd43ace5d6bf1eb12a117e0434089.tar.gz |
SERVER-48367 fix embedded runGlobalInitializers call
Diffstat (limited to 'src/mongo/embedded/mongoc_embedded')
-rw-r--r-- | src/mongo/embedded/mongoc_embedded/mongoc_embedded_test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/embedded/mongoc_embedded/mongoc_embedded_test.cpp b/src/mongo/embedded/mongoc_embedded/mongoc_embedded_test.cpp index 6d8750b1058..23d84deb3f6 100644 --- a/src/mongo/embedded/mongoc_embedded/mongoc_embedded_test.cpp +++ b/src/mongo/embedded/mongoc_embedded/mongoc_embedded_test.cpp @@ -285,8 +285,7 @@ int main(int argc, char** argv) { ::mongo::serverGlobalParams.noUnixSocket = true; // See comment by the same code block in mongo_embedded_test.cpp - const char* null_argv[1] = {nullptr}; - ret = mongo::runGlobalInitializers(0, null_argv, nullptr); + ret = mongo::runGlobalInitializers(std::vector<std::string>{}); if (!ret.isOK()) { std::cerr << "Global initilization failed"; return EXIT_FAILURE; |