summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/copyable_match_expression.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/matcher/copyable_match_expression.h')
-rw-r--r--src/mongo/db/matcher/copyable_match_expression.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/matcher/copyable_match_expression.h b/src/mongo/db/matcher/copyable_match_expression.h
index f08bf2dc202..9f17fd1b082 100644
--- a/src/mongo/db/matcher/copyable_match_expression.h
+++ b/src/mongo/db/matcher/copyable_match_expression.h
@@ -46,8 +46,8 @@ namespace mongo {
class CopyableMatchExpression {
public:
/**
- * Parse 'matchAST' to create a new MatchExpression, throwing a UserException if we encounter an
- * error.
+ * Parse 'matchAST' to create a new MatchExpression, throwing a AssertionException if we
+ * encounter an error.
*/
CopyableMatchExpression(BSONObj matchAST,
std::unique_ptr<const ExtensionsCallback> extensionsCallback,