summaryrefslogtreecommitdiff
path: root/src/mongo/util/assert_util.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2015-10-23 18:00:22 -0400
committerAndy Schwerin <schwerin@mongodb.com>2015-10-23 18:02:06 -0400
commit0ca67590714744c2cb5242d0536bae48ea8c6795 (patch)
treed5dcc643be5b87977798b01b37f7ef4a51d8475c /src/mongo/util/assert_util.cpp
parent9284edb11f0626c77017117ef02790881586aa26 (diff)
downloadmongo-0ca67590714744c2cb5242d0536bae48ea8c6795.tar.gz
SERVER-21097 Add a lint rule to prohibit std::atomic, add NOLINT to existing uses.
Diffstat (limited to 'src/mongo/util/assert_util.cpp')
-rw-r--r--src/mongo/util/assert_util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/assert_util.cpp b/src/mongo/util/assert_util.cpp
index ceb3007ae38..764afacb140 100644
--- a/src/mongo/util/assert_util.cpp
+++ b/src/mongo/util/assert_util.cpp
@@ -74,7 +74,7 @@ void AssertionCount::condrollover(int newvalue) {
rollover();
}
-std::atomic<bool> DBException::traceExceptions(false);
+std::atomic<bool> DBException::traceExceptions(false); // NOLINT
string DBException::toString() const {
stringstream ss;