diff options
Diffstat (limited to 'src/mongo/db/commands/dbhash.cpp')
-rw-r--r-- | src/mongo/db/commands/dbhash.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/dbhash.cpp b/src/mongo/db/commands/dbhash.cpp index 7dc15854506..b24fcc3fd45 100644 --- a/src/mongo/db/commands/dbhash.cpp +++ b/src/mongo/db/commands/dbhash.cpp @@ -374,8 +374,8 @@ private: long long n = 0; PlanExecutor::ExecState state; BSONObj c; - verify(NULL != exec.get()); - while (PlanExecutor::ADVANCED == (state = exec->getNext(&c, NULL))) { + verify(nullptr != exec.get()); + while (PlanExecutor::ADVANCED == (state = exec->getNext(&c, nullptr))) { md5_append(&st, (const md5_byte_t*)c.objdata(), c.objsize()); n++; } |