summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/expression.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/expression.h')
-rw-r--r--src/mongo/db/pipeline/expression.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/expression.h b/src/mongo/db/pipeline/expression.h
index df9e1802e8e..a9dd5f7d485 100644
--- a/src/mongo/db/pipeline/expression.h
+++ b/src/mongo/db/pipeline/expression.h
@@ -529,7 +529,7 @@ public:
}
const char* getOpName() const final {
- return AccumulatorState(this->getExpressionContext()).getOpName();
+ return AccumulatorState::kName.rawData();
}
void acceptVisitor(ExpressionMutableVisitor* visitor) final {