summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/2d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/2d.cpp')
-rw-r--r--src/mongo/db/exec/2d.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/exec/2d.cpp b/src/mongo/db/exec/2d.cpp
index 5142beb7195..758f17f825b 100644
--- a/src/mongo/db/exec/2d.cpp
+++ b/src/mongo/db/exec/2d.cpp
@@ -160,7 +160,7 @@ namespace twod_exec {
//
GeoCircleBrowse::GeoCircleBrowse(const TwoDParams& params, TwoDAccessMethod* accessMethod)
- : GeoBrowse(accessMethod, "circle", params.filter) {
+ : GeoBrowse(params.collection, accessMethod, "circle", params.filter) {
_converter = accessMethod->getParams().geoHashConverter;
@@ -231,7 +231,7 @@ namespace twod_exec {
//
GeoBoxBrowse::GeoBoxBrowse(const TwoDParams& params, TwoDAccessMethod* accessMethod)
- : GeoBrowse(accessMethod, "box", params.filter) {
+ : GeoBrowse(params.collection, accessMethod, "box", params.filter) {
_converter = accessMethod->getParams().geoHashConverter;
@@ -273,7 +273,7 @@ namespace twod_exec {
//
GeoPolygonBrowse::GeoPolygonBrowse(const TwoDParams& params, TwoDAccessMethod* accessMethod)
- : GeoBrowse(accessMethod, "polygon", params.filter) {
+ : GeoBrowse(params.collection, accessMethod, "polygon", params.filter) {
_converter = accessMethod->getParams().geoHashConverter;