summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/accumulator_add_to_set.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/accumulator_add_to_set.cpp')
-rw-r--r--src/mongo/db/pipeline/accumulator_add_to_set.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/accumulator_add_to_set.cpp b/src/mongo/db/pipeline/accumulator_add_to_set.cpp
index cca39c44294..0608b006dd2 100644
--- a/src/mongo/db/pipeline/accumulator_add_to_set.cpp
+++ b/src/mongo/db/pipeline/accumulator_add_to_set.cpp
@@ -43,7 +43,8 @@ using boost::intrusive_ptr;
using std::vector;
REGISTER_ACCUMULATOR(addToSet, genericParseSingleExpressionAccumulator<AccumulatorAddToSet>);
-REGISTER_WINDOW_FUNCTION(addToSet, window_function::ExpressionFromAccumulator::parse);
+REGISTER_WINDOW_FUNCTION(addToSet,
+ window_function::ExpressionFromAccumulator<AccumulatorAddToSet>::parse);
const char* AccumulatorAddToSet::getOpName() const {
return "$addToSet";