summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/text_match.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/text_match.cpp')
-rw-r--r--src/mongo/db/exec/text_match.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/text_match.cpp b/src/mongo/db/exec/text_match.cpp
index 6e5ffe951e6..0dc2bf8b5a6 100644
--- a/src/mongo/db/exec/text_match.cpp
+++ b/src/mongo/db/exec/text_match.cpp
@@ -65,7 +65,7 @@ std::unique_ptr<PlanStageStats> TextMatchStage::getStats() {
unique_ptr<PlanStageStats> ret = make_unique<PlanStageStats>(_commonStats, STAGE_TEXT_MATCH);
ret->specific = make_unique<TextMatchStats>(_specificStats);
- ret->children.push_back(child()->getStats().release());
+ ret->children.emplace_back(child()->getStats());
return ret;
}