summaryrefslogtreecommitdiff
path: root/src/mongo/shell
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell')
-rw-r--r--src/mongo/shell/bench.h4
-rw-r--r--src/mongo/shell/dbshell.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/shell/bench.h b/src/mongo/shell/bench.h
index 322494539d3..6f30a3b76fc 100644
--- a/src/mongo/shell/bench.h
+++ b/src/mongo/shell/bench.h
@@ -453,8 +453,8 @@ private:
unsigned _numUnstartedWorkers;
unsigned _numActiveWorkers;
- AtomicUInt32 _isShuttingDown;
- AtomicUInt32 _isCollectingStats;
+ AtomicWord<unsigned> _isShuttingDown;
+ AtomicWord<unsigned> _isCollectingStats;
};
/**
diff --git a/src/mongo/shell/dbshell.cpp b/src/mongo/shell/dbshell.cpp
index 4f49ca027cc..9306a719b6f 100644
--- a/src/mongo/shell/dbshell.cpp
+++ b/src/mongo/shell/dbshell.cpp
@@ -89,7 +89,7 @@ using namespace mongo;
string historyFile;
bool gotInterrupted = false;
bool inMultiLine = false;
-static AtomicBool atPrompt(false); // can eval before getting to prompt
+static AtomicWord<bool> atPrompt(false); // can eval before getting to prompt
namespace {
const std::string kDefaultMongoHost = "127.0.0.1"s;