summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_geo_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/matcher/expression_geo_test.cpp')
-rw-r--r--src/mongo/db/matcher/expression_geo_test.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/db/matcher/expression_geo_test.cpp b/src/mongo/db/matcher/expression_geo_test.cpp
index 56ddaa674ea..5d8d6744a34 100644
--- a/src/mongo/db/matcher/expression_geo_test.cpp
+++ b/src/mongo/db/matcher/expression_geo_test.cpp
@@ -31,11 +31,12 @@
#include "mongo/unittest/unittest.h"
+#include <memory>
+
#include "mongo/db/jsobj.h"
#include "mongo/db/json.h"
#include "mongo/db/matcher/expression.h"
#include "mongo/db/matcher/expression_geo.h"
-#include "mongo/stdx/memory.h"
namespace mongo {
@@ -74,7 +75,7 @@ std::unique_ptr<GeoMatchExpression> makeGeoMatchExpression(const BSONObj& locQue
ASSERT_OK(gq->parseFrom(locQuery));
std::unique_ptr<GeoMatchExpression> ge =
- stdx::make_unique<GeoMatchExpression>("a", gq.release(), locQuery);
+ std::make_unique<GeoMatchExpression>("a", gq.release(), locQuery);
return ge;
}
@@ -84,7 +85,7 @@ std::unique_ptr<GeoNearMatchExpression> makeGeoNearMatchExpression(const BSONObj
ASSERT_OK(nq->parseFrom(locQuery));
std::unique_ptr<GeoNearMatchExpression> gne =
- stdx::make_unique<GeoNearMatchExpression>("a", nq.release(), locQuery);
+ std::make_unique<GeoNearMatchExpression>("a", nq.release(), locQuery);
return gne;
}