summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_change_stream_oplog_match.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/document_source_change_stream_oplog_match.cpp')
-rw-r--r--src/mongo/db/pipeline/document_source_change_stream_oplog_match.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_change_stream_oplog_match.cpp b/src/mongo/db/pipeline/document_source_change_stream_oplog_match.cpp
index efb9cdf9c6c..79457243c69 100644
--- a/src/mongo/db/pipeline/document_source_change_stream_oplog_match.cpp
+++ b/src/mongo/db/pipeline/document_source_change_stream_oplog_match.cpp
@@ -51,7 +51,7 @@ namespace change_stream_filter {
* entries that would definitely be filtered out by the 'userMatch' filter.
*
* NB: When passing a non-NULL 'userMatch' expression, the resulting expression is built using a
- * "shallow clone" of the 'userMatch' (i.e., the result of 'MatchExpression::shallowClone()') and
+ * "shallow clone" of the 'userMatch' (i.e., the result of 'MatchExpression::clone()') and
* can contain references to strings in the BSONObj that 'userMatch' originated from. Callers that
* keep the new filter long-term should serialize and re-parse it to guard against the possibility
* of stale string references.