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/dbdirectclient.h | |
parent | b3c26131f6ab3f919beca658341e737de5d45683 (diff) | |
download | mongo-47b380f03e8898f4706ff01fa2be64dfb72e0dba.tar.gz |
SERVER-41071 Replace NULL and 0 with nullptr
Diffstat (limited to 'src/mongo/db/dbdirectclient.h')
-rw-r--r-- | src/mongo/db/dbdirectclient.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/dbdirectclient.h b/src/mongo/db/dbdirectclient.h index ae348ab93bd..c700baf3d8f 100644 --- a/src/mongo/db/dbdirectclient.h +++ b/src/mongo/db/dbdirectclient.h @@ -62,7 +62,7 @@ public: Query query, int nToReturn = 0, int nToSkip = 0, - const BSONObj* fieldsToReturn = 0, + const BSONObj* fieldsToReturn = nullptr, int queryOptions = 0, int batchSize = 0); @@ -77,9 +77,9 @@ public: virtual bool call(Message& toSend, Message& response, bool assertOk = true, - std::string* actualServer = 0); + std::string* actualServer = nullptr); - virtual void say(Message& toSend, bool isRetry = false, std::string* actualServer = 0); + virtual void say(Message& toSend, bool isRetry = false, std::string* actualServer = nullptr); virtual unsigned long long count(const std::string& ns, const BSONObj& query = BSONObj(), |