summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/plan_cache_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/plan_cache_test.cpp')
-rw-r--r--src/mongo/db/query/plan_cache_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/query/plan_cache_test.cpp b/src/mongo/db/query/plan_cache_test.cpp
index c6543f5da59..a2ab4e1f475 100644
--- a/src/mongo/db/query/plan_cache_test.cpp
+++ b/src/mongo/db/query/plan_cache_test.cpp
@@ -1161,7 +1161,7 @@ protected:
dumpSolutions(ss);
FAIL(ss);
- return NULL;
+ return nullptr;
}
/**
@@ -1216,8 +1216,8 @@ protected:
*/
void assertNotCached(const string& solnJson) {
QuerySolution* bestSoln = firstMatchingSolution(solnJson);
- ASSERT(NULL != bestSoln);
- ASSERT(NULL == bestSoln->cacheData.get());
+ ASSERT(nullptr != bestSoln);
+ ASSERT(nullptr == bestSoln->cacheData.get());
}
static const PlanCacheKey ck;