diff options
Diffstat (limited to 'src/mongo/db/geo/big_polygon.cpp')
-rw-r--r-- | src/mongo/db/geo/big_polygon.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/geo/big_polygon.cpp b/src/mongo/db/geo/big_polygon.cpp index f0f77ab51ed..4f76faac823 100644 --- a/src/mongo/db/geo/big_polygon.cpp +++ b/src/mongo/db/geo/big_polygon.cpp @@ -30,9 +30,9 @@ #include "mongo/db/geo/big_polygon.h" #include <map> +#include <memory> #include "mongo/base/owned_pointer_vector.h" -#include "mongo/stdx/memory.h" #include "mongo/util/assert_util.h" #include "mongo/util/transitional_tools_do_not_use/vector_spooling.h" @@ -172,7 +172,7 @@ const S2Polygon& BigSimplePolygon::GetPolygonBorder() const { std::vector<S2Loop*> loops; loops.push_back(cloned.release()); - _borderPoly = stdx::make_unique<S2Polygon>(&loops); + _borderPoly = std::make_unique<S2Polygon>(&loops); return *_borderPoly; } |