summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/matcher/expression_text.cpp')
-rw-r--r--src/mongo/db/matcher/expression_text.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/matcher/expression_text.cpp b/src/mongo/db/matcher/expression_text.cpp
index 8fdcd65befc..49fb5971739 100644
--- a/src/mongo/db/matcher/expression_text.cpp
+++ b/src/mongo/db/matcher/expression_text.cpp
@@ -31,13 +31,14 @@
#include "mongo/db/matcher/expression_text.h"
+#include <memory>
+
#include "mongo/db/catalog/collection.h"
#include "mongo/db/catalog/index_catalog.h"
#include "mongo/db/db_raii.h"
#include "mongo/db/fts/fts_language.h"
#include "mongo/db/fts/fts_spec.h"
#include "mongo/db/index/fts_access_method.h"
-#include "mongo/stdx/memory.h"
namespace mongo {
@@ -101,7 +102,7 @@ TextMatchExpression::TextMatchExpression(OperationContext* opCtx,
}
std::unique_ptr<MatchExpression> TextMatchExpression::shallowClone() const {
- auto expr = stdx::make_unique<TextMatchExpression>(_ftsQuery);
+ auto expr = std::make_unique<TextMatchExpression>(_ftsQuery);
// We use the query-only constructor here directly rather than using the full constructor, to
// avoid needing to examine
// the index catalog.