summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclient_cursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/dbclient_cursor.h')
-rw-r--r--src/mongo/client/dbclient_cursor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/dbclient_cursor.h b/src/mongo/client/dbclient_cursor.h
index e5b69b10b50..ad3a2c89583 100644
--- a/src/mongo/client/dbclient_cursor.h
+++ b/src/mongo/client/dbclient_cursor.h
@@ -94,7 +94,7 @@ public:
/**
* peek ahead and see if an error occurred, and get the error if so.
*/
- bool peekError(BSONObj* error = NULL);
+ bool peekError(BSONObj* error = nullptr);
/**
iterate the rest of the cursor and return the number if items