summaryrefslogtreecommitdiff
path: root/src/mongo/s/grid.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/grid.h')
-rw-r--r--src/mongo/s/grid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/grid.h b/src/mongo/s/grid.h
index f102da3c8de..7dbc69ab025 100644
--- a/src/mongo/s/grid.h
+++ b/src/mongo/s/grid.h
@@ -191,7 +191,7 @@ private:
CustomConnectionPoolStatsFn _customConnectionPoolStatsFn;
- AtomicBool _shardingInitialized{false};
+ AtomicWord<bool> _shardingInitialized{false};
// Protects _configOpTime.
mutable stdx::mutex _mutex;