summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclient_connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/dbclient_connection.h')
-rw-r--r--src/mongo/client/dbclient_connection.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/client/dbclient_connection.h b/src/mongo/client/dbclient_connection.h
index dc2f9ae7f6c..5b2976a134f 100644
--- a/src/mongo/client/dbclient_connection.h
+++ b/src/mongo/client/dbclient_connection.h
@@ -154,7 +154,7 @@ public:
Query query = Query(),
int nToReturn = 0,
int nToSkip = 0,
- const BSONObj* fieldsToReturn = 0,
+ const BSONObj* fieldsToReturn = nullptr,
int queryOptions = 0,
int batchSize = 0) override {
checkConnection();
@@ -227,12 +227,12 @@ public:
return _serverAddress;
}
- void say(Message& toSend, bool isRetry = false, std::string* actualServer = 0) override;
+ void say(Message& toSend, bool isRetry = false, std::string* actualServer = nullptr) override;
bool recv(Message& m, int lastRequestId) override;
void checkResponse(const std::vector<BSONObj>& batch,
bool networkError,
- bool* retry = NULL,
- std::string* host = NULL) override;
+ bool* retry = nullptr,
+ std::string* host = nullptr) override;
bool call(Message& toSend,
Message& response,
bool assertOk,