summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_where_base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/matcher/expression_where_base.cpp')
-rw-r--r--src/mongo/db/matcher/expression_where_base.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/matcher/expression_where_base.cpp b/src/mongo/db/matcher/expression_where_base.cpp
index 0df2a9c145a..1fe88284a24 100644
--- a/src/mongo/db/matcher/expression_where_base.cpp
+++ b/src/mongo/db/matcher/expression_where_base.cpp
@@ -38,14 +38,14 @@ namespace mongo {
WhereMatchExpressionBase::WhereMatchExpressionBase(WhereParams params)
: MatchExpression(WHERE), _code(std::move(params.code)), _scope(std::move(params.scope)) {}
-void WhereMatchExpressionBase::debugString(StringBuilder& debug, int level) const {
- _debugAddSpace(debug, level);
+void WhereMatchExpressionBase::debugString(StringBuilder& debug, int indentationLevel) const {
+ _debugAddSpace(debug, indentationLevel);
debug << "$where\n";
- _debugAddSpace(debug, level + 1);
+ _debugAddSpace(debug, indentationLevel + 1);
debug << "code: " << getCode() << "\n";
- _debugAddSpace(debug, level + 1);
+ _debugAddSpace(debug, indentationLevel + 1);
debug << "scope: " << getScope() << "\n";
}