summaryrefslogtreecommitdiff
path: root/src/mongo/db/update/field_checker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/update/field_checker.h')
-rw-r--r--src/mongo/db/update/field_checker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/update/field_checker.h b/src/mongo/db/update/field_checker.h
index 117a30995a9..1bc75b51709 100644
--- a/src/mongo/db/update/field_checker.h
+++ b/src/mongo/db/update/field_checker.h
@@ -58,7 +58,7 @@ bool isPositionalElement(const StringData& field);
* isPositional assumes that the field is updatable. Call isUpdatable() above to
* verify.
*/
-bool isPositional(const FieldRef& fieldRef, size_t* pos, size_t* count = NULL);
+bool isPositional(const FieldRef& fieldRef, size_t* pos, size_t* count = nullptr);
/**
* Returns true iff 'field' is an array filter (matching the regular expression /\$\[.*\]/).