summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/plan_ranking.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/dbtests/plan_ranking.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/dbtests/plan_ranking.cpp')
-rw-r--r--src/mongo/dbtests/plan_ranking.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/plan_ranking.cpp b/src/mongo/dbtests/plan_ranking.cpp
index 16668a116c9..6c853e409e3 100644
--- a/src/mongo/dbtests/plan_ranking.cpp
+++ b/src/mongo/dbtests/plan_ranking.cpp
@@ -52,9 +52,9 @@
namespace mongo {
// How we access the external setParameter testing bool.
-extern std::atomic<bool> internalQueryForceIntersectionPlans;
+extern std::atomic<bool> internalQueryForceIntersectionPlans; // NOLINT
-extern std::atomic<bool> internalQueryPlannerEnableHashIntersection;
+extern std::atomic<bool> internalQueryPlannerEnableHashIntersection; // NOLINT
} // namespace mongo