diff options
author | A. Jesse Jiryu Davis <jesse@mongodb.com> | 2019-06-14 16:42:10 -0400 |
---|---|---|
committer | A. Jesse Jiryu Davis <jesse@mongodb.com> | 2019-06-14 19:23:18 -0400 |
commit | 47b380f03e8898f4706ff01fa2be64dfb72e0dba (patch) | |
tree | fb3508758c9abd0e297afee43ac847bf5aebcbbb /src/mongo/db/s/split_chunk.cpp | |
parent | b3c26131f6ab3f919beca658341e737de5d45683 (diff) | |
download | mongo-47b380f03e8898f4706ff01fa2be64dfb72e0dba.tar.gz |
SERVER-41071 Replace NULL and 0 with nullptr
Diffstat (limited to 'src/mongo/db/s/split_chunk.cpp')
-rw-r--r-- | src/mongo/db/s/split_chunk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/s/split_chunk.cpp b/src/mongo/db/s/split_chunk.cpp index c76edbf8c6d..be2560efcee 100644 --- a/src/mongo/db/s/split_chunk.cpp +++ b/src/mongo/db/s/split_chunk.cpp @@ -76,8 +76,8 @@ bool checkIfSingleDoc(OperationContext* opCtx, // check if exactly one document found PlanExecutor::ExecState state; BSONObj obj; - if (PlanExecutor::ADVANCED == (state = exec->getNext(&obj, NULL))) { - if (PlanExecutor::IS_EOF == (state = exec->getNext(&obj, NULL))) { + if (PlanExecutor::ADVANCED == (state = exec->getNext(&obj, nullptr))) { + if (PlanExecutor::IS_EOF == (state = exec->getNext(&obj, nullptr))) { return true; } } |