diff options
Diffstat (limited to 'src/mongo/db/field_ref_set.h')
-rw-r--r-- | src/mongo/db/field_ref_set.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/field_ref_set.h b/src/mongo/db/field_ref_set.h index 71a48502739..e7258c2a184 100644 --- a/src/mongo/db/field_ref_set.h +++ b/src/mongo/db/field_ref_set.h @@ -94,8 +94,10 @@ namespace mongo { /** * Find all inserted fields which conflict with the FieldRef 'toCheck' by the semantics * of 'insert', and add those fields to the 'conflicts' set. + * + * Return true if conflicts were found. */ - void getConflicts(const FieldRef* toCheck, FieldRefSet* conflicts) const; + bool findConflicts(const FieldRef* toCheck, FieldRefSet* conflicts) const; void clear() { _fieldSet.clear(); |