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/bson/json.h | |
parent | b3c26131f6ab3f919beca658341e737de5d45683 (diff) | |
download | mongo-47b380f03e8898f4706ff01fa2be64dfb72e0dba.tar.gz |
SERVER-41071 Replace NULL and 0 with nullptr
Diffstat (limited to 'src/mongo/bson/json.h')
-rw-r--r-- | src/mongo/bson/json.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/bson/json.h b/src/mongo/bson/json.h index 38217fb7eef..45b08acd095 100644 --- a/src/mongo/bson/json.h +++ b/src/mongo/bson/json.h @@ -52,7 +52,7 @@ namespace mongo { BSONObj fromjson(const std::string& str); /** @param len will be size of JSON object in text chars. */ -BSONObj fromjson(const char* str, int* len = NULL); +BSONObj fromjson(const char* str, int* len = nullptr); /** * Tests whether the JSON string is an Array. @@ -410,7 +410,7 @@ private: * string, but there is no guarantee that it will not contain other * null characters. */ - Status chars(std::string* result, const char* terminalSet, const char* allowedSet = NULL); + Status chars(std::string* result, const char* terminalSet, const char* allowedSet = nullptr); /** * Converts the two byte Unicode code point to its UTF8 character |