summaryrefslogtreecommitdiff
path: root/src/mongo/shell/dbshell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell/dbshell.cpp')
-rw-r--r--src/mongo/shell/dbshell.cpp2
1 files changed, 1 insertions, 1 deletions
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;