diff options
Diffstat (limited to 'src/mongo/db/exec/2dnear.h')
-rw-r--r-- | src/mongo/db/exec/2dnear.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/2dnear.h b/src/mongo/db/exec/2dnear.h index 6d3ac4254d8..65d07908a73 100644 --- a/src/mongo/db/exec/2dnear.h +++ b/src/mongo/db/exec/2dnear.h @@ -172,7 +172,7 @@ namespace twod_exec { virtual bool fitsInBox(double width) { return width >= _scanDistance; } // Whether the current box overlaps our search area - virtual double intersectsBox(Box& cur) { return cur.intersects(_want); } + virtual double intersectsBox(Box& cur) { return cur.legacyIntersectFraction(_want); } std::set< std::pair<DiskLoc,int> > _seen; GeoHash _start; |