summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_geo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/matcher/expression_geo.h')
-rw-r--r--src/mongo/db/matcher/expression_geo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/matcher/expression_geo.h b/src/mongo/db/matcher/expression_geo.h
index d8d2a0a105a..59cc2a87ac5 100644
--- a/src/mongo/db/matcher/expression_geo.h
+++ b/src/mongo/db/matcher/expression_geo.h
@@ -71,7 +71,7 @@ namespace mongo {
// Name of the field in the query.
std::string field;
- boost::scoped_ptr<GeometryContainer> geoContainer;
+ std::unique_ptr<GeometryContainer> geoContainer;
Predicate predicate;
};
@@ -120,7 +120,7 @@ namespace mongo {
std::string field;
// The starting point of the near search. Use forward declaration of geometries.
- boost::scoped_ptr<PointWithCRS> centroid;
+ std::unique_ptr<PointWithCRS> centroid;
// Min and max distance from centroid that we're willing to search.
// Distance is in units of the geometry's CRS, except SPHERE and isNearSphere => radians