diff options
Diffstat (limited to 'src/mongo/db/matcher/expression_geo.h')
-rw-r--r-- | src/mongo/db/matcher/expression_geo.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/matcher/expression_geo.h b/src/mongo/db/matcher/expression_geo.h index 37f4727bb1a..6d38f7fe320 100644 --- a/src/mongo/db/matcher/expression_geo.h +++ b/src/mongo/db/matcher/expression_geo.h @@ -42,7 +42,8 @@ class GeometryContainer; // This represents either a $within or a $geoIntersects. class GeoExpression { - MONGO_DISALLOW_COPYING(GeoExpression); + GeoExpression(const GeoExpression&) = delete; + GeoExpression& operator=(const GeoExpression&) = delete; public: GeoExpression(); @@ -123,7 +124,8 @@ private: // TODO: Make a struct, turn parse stuff into something like // static Status parseNearQuery(const BSONObj& obj, NearQuery** out); class GeoNearExpression { - MONGO_DISALLOW_COPYING(GeoNearExpression); + GeoNearExpression(const GeoNearExpression&) = delete; + GeoNearExpression& operator=(const GeoNearExpression&) = delete; public: GeoNearExpression(); |