summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/record_store_test_touch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/record_store_test_touch.cpp')
-rw-r--r--src/mongo/db/storage/record_store_test_touch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/storage/record_store_test_touch.cpp b/src/mongo/db/storage/record_store_test_touch.cpp
index 43b52b39ba2..edafde0683e 100644
--- a/src/mongo/db/storage/record_store_test_touch.cpp
+++ b/src/mongo/db/storage/record_store_test_touch.cpp
@@ -122,7 +122,7 @@ TEST(RecordStoreTestHarness, TouchEmptyWithNullStats) {
{
ServiceContext::UniqueOperationContext opCtx(
harnessHelper->newOperationContext(harnessHelper->client()));
- Status status = rs->touch(opCtx.get(), NULL /* stats output */);
+ Status status = rs->touch(opCtx.get(), nullptr /* stats output */);
ASSERT(status.isOK() || status.code() == ErrorCodes::CommandNotSupported);
}
}
@@ -164,7 +164,7 @@ TEST(RecordStoreTestHarness, TouchNonEmptyWithNullStats) {
harnessHelper->newOperationContext(harnessHelper->client()));
// XXX does not verify the collection was loaded into cache
// (even if supported by storage engine)
- Status status = rs->touch(opCtx.get(), NULL /* stats output */);
+ Status status = rs->touch(opCtx.get(), nullptr /* stats output */);
ASSERT(status.isOK() || status.code() == ErrorCodes::CommandNotSupported);
}
}