summaryrefslogtreecommitdiff
path: root/src/mongo/db/fts/fts_query_impl.cpp
diff options
context:
space:
mode:
authorADAM David Alan Martin <adam.martin@10gen.com>2019-06-10 01:21:01 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2019-06-10 01:59:35 -0400
commitc36f9ecb91e49da7e637863889804fc4e6c6c05e (patch)
tree64d8aadb6d29042d4f4e7366bc1457e4e0612383 /src/mongo/db/fts/fts_query_impl.cpp
parentc9548e729c8fecd9d7a9a5dd341da0433194ac73 (diff)
downloadmongo-c36f9ecb91e49da7e637863889804fc4e6c6c05e.tar.gz
SERVER-39339 Remove `stdx/memory.h`
Diffstat (limited to 'src/mongo/db/fts/fts_query_impl.cpp')
-rw-r--r--src/mongo/db/fts/fts_query_impl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/fts/fts_query_impl.cpp b/src/mongo/db/fts/fts_query_impl.cpp
index fffc4362fbb..c9f7e151b9d 100644
--- a/src/mongo/db/fts/fts_query_impl.cpp
+++ b/src/mongo/db/fts/fts_query_impl.cpp
@@ -31,10 +31,11 @@
#include "mongo/db/fts/fts_query_impl.h"
+#include <memory>
+
#include "mongo/db/fts/fts_query_parser.h"
#include "mongo/db/fts/fts_spec.h"
#include "mongo/db/fts/fts_tokenizer.h"
-#include "mongo/stdx/memory.h"
#include "mongo/util/str.h"
namespace mongo {
@@ -136,7 +137,7 @@ Status FTSQueryImpl::parse(TextIndexVersion textIndexVersion) {
}
std::unique_ptr<FTSQuery> FTSQueryImpl::clone() const {
- auto clonedQuery = stdx::make_unique<FTSQueryImpl>();
+ auto clonedQuery = std::make_unique<FTSQueryImpl>();
clonedQuery->setQuery(getQuery());
clonedQuery->setLanguage(getLanguage());
clonedQuery->setCaseSensitive(getCaseSensitive());