summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2020-02-05 16:39:14 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-05 22:04:54 +0000
commitc4321a36a9fe94cd9cd26af681b938db3d175352 (patch)
tree8143845c9941a2a877c819f5febbe91a3e761f07
parent769ee6a62ad027541e70237ab1b9d013bd36e84c (diff)
downloadmongo-c4321a36a9fe94cd9cd26af681b938db3d175352.tar.gz
SERVER-45838 Fix lint
-rw-r--r--src/mongo/db/pipeline/process_interface/common_process_interface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/process_interface/common_process_interface.cpp b/src/mongo/db/pipeline/process_interface/common_process_interface.cpp
index 9d5acc0bb10..ae19e6a7635 100644
--- a/src/mongo/db/pipeline/process_interface/common_process_interface.cpp
+++ b/src/mongo/db/pipeline/process_interface/common_process_interface.cpp
@@ -141,8 +141,8 @@ std::vector<FieldPath> CommonProcessInterface::collectDocumentKeyFieldsActingAsR
return {"_id"};
}
-bool CommonProcessInterface::keyPatternNamesExactPaths(
- const BSONObj& keyPattern, const std::set<FieldPath>& uniqueKeyPaths) {
+bool CommonProcessInterface::keyPatternNamesExactPaths(const BSONObj& keyPattern,
+ const std::set<FieldPath>& uniqueKeyPaths) {
size_t nFieldsMatched = 0;
for (auto&& elem : keyPattern) {
if (!elem.isNumber()) {