summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/mr_common.cpp
diff options
context:
space:
mode:
authorTed Tuckman <ted.tuckman@mongodb.com>2020-09-18 08:31:34 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-09-25 12:40:28 +0000
commit06540e251a4d92eb092ff2927ce08d299bee3568 (patch)
treec63214a7abb7efe974324bed63952d0bc499b3ce /src/mongo/db/commands/mr_common.cpp
parent7bb0b62a1ec8964ce1cc4fdeeda866adce825a6f (diff)
downloadmongo-06540e251a4d92eb092ff2927ce08d299bee3568.tar.gz
SERVER-50676 Improve makeVector to deduce type argument
Diffstat (limited to 'src/mongo/db/commands/mr_common.cpp')
-rw-r--r--src/mongo/db/commands/mr_common.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/mr_common.cpp b/src/mongo/db/commands/mr_common.cpp
index 3f18f4dddb7..db1708a8715 100644
--- a/src/mongo/db/commands/mr_common.cpp
+++ b/src/mongo/db/commands/mr_common.cpp
@@ -135,7 +135,7 @@ auto translateReduce(boost::intrusive_ptr<ExpressionContext> expCtx, std::string
ExpressionFieldPath::parse(expCtx.get(), "$emits.k", expCtx->variablesParseState);
return DocumentSourceGroup::create(expCtx,
std::move(groupKeyExpression),
- make_vector<AccumulationStatement>(std::move(jsReduce)),
+ makeVector<AccumulationStatement>(std::move(jsReduce)),
boost::none);
}
@@ -146,7 +146,7 @@ auto translateFinalize(boost::intrusive_ptr<ExpressionContext> expCtx,
expCtx.get(),
ExpressionArray::create(
expCtx.get(),
- make_vector<boost::intrusive_ptr<Expression>>(
+ makeVector<boost::intrusive_ptr<Expression>>(
ExpressionFieldPath::parse(expCtx.get(), "$_id", expCtx->variablesParseState),
ExpressionFieldPath::parse(
expCtx.get(), "$value", expCtx->variablesParseState))),