summaryrefslogtreecommitdiff
path: root/src/mongo/db/server_options_helpers.cpp
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2017-01-05 10:56:41 -0500
committerMark Benvenuto <mark.benvenuto@mongodb.com>2017-01-05 10:56:41 -0500
commitba55f2573976ba570c2319bce9b598f0a660445f (patch)
tree7fc8adb43798e03517933c4e575dcbebe8f42087 /src/mongo/db/server_options_helpers.cpp
parentf5fbf31650eea903edbbcd2f9ef042b4c39e2ecb (diff)
downloadmongo-ba55f2573976ba570c2319bce9b598f0a660445f.tar.gz
SERVER-25932 Make MONGO_EXPORT_SERVER_PARAMETER use AtomicWord instead of std::atomic
Diffstat (limited to 'src/mongo/db/server_options_helpers.cpp')
-rw-r--r--src/mongo/db/server_options_helpers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/server_options_helpers.cpp b/src/mongo/db/server_options_helpers.cpp
index dac0f29e876..37412636992 100644
--- a/src/mongo/db/server_options_helpers.cpp
+++ b/src/mongo/db/server_options_helpers.cpp
@@ -864,11 +864,11 @@ Status storeServerOptions(const moe::Environment& params) {
}
if (params.count("systemLog.quiet")) {
- serverGlobalParams.quiet = params["systemLog.quiet"].as<bool>();
+ serverGlobalParams.quiet.store(params["systemLog.quiet"].as<bool>());
}
if (params.count("systemLog.traceAllExceptions")) {
- DBException::traceExceptions = params["systemLog.traceAllExceptions"].as<bool>();
+ DBException::traceExceptions.store(params["systemLog.traceAllExceptions"].as<bool>());
}
if (params.count("net.maxIncomingConnections")) {