diff options
Diffstat (limited to 'src/mongo/db/geo/r2_region_coverer.h')
-rw-r--r-- | src/mongo/db/geo/r2_region_coverer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/geo/r2_region_coverer.h b/src/mongo/db/geo/r2_region_coverer.h index e1f91624fa7..208322ff68b 100644 --- a/src/mongo/db/geo/r2_region_coverer.h +++ b/src/mongo/db/geo/r2_region_coverer.h @@ -129,9 +129,9 @@ class R2CellUnion : boost::noncopyable { public: void init(const std::vector<GeoHash>& cellIds); // Returns true if the cell union contains the given cell id. - bool contains(const GeoHash cellId) const; + bool contains(GeoHash cellId) const; // Return true if the cell union intersects the given cell id. - bool intersects(const GeoHash cellId) const; + bool intersects(GeoHash cellId) const; std::string toString() const; // Direct access to the underlying vector. |