diff options
Diffstat (limited to 'src/mongo/db/dbmessage.h')
-rw-r--r-- | src/mongo/db/dbmessage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/dbmessage.h b/src/mongo/db/dbmessage.h index 7828e2938f1..f6281c3614c 100644 --- a/src/mongo/db/dbmessage.h +++ b/src/mongo/db/dbmessage.h @@ -241,7 +241,7 @@ public: /* for insert and update msgs */ bool moreJSObjs() const { - return _nextjsobj != 0 && _nextjsobj != _theEnd; + return _nextjsobj != nullptr && _nextjsobj != _theEnd; } BSONObj nextJsObj(); |