diff options
Diffstat (limited to 'src/mongo/db/pipeline/pipeline_d.cpp')
-rw-r--r-- | src/mongo/db/pipeline/pipeline_d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/pipeline_d.cpp b/src/mongo/db/pipeline/pipeline_d.cpp index 9aaa69ce2c1..6e706c1e1f2 100644 --- a/src/mongo/db/pipeline/pipeline_d.cpp +++ b/src/mongo/db/pipeline/pipeline_d.cpp @@ -255,7 +255,7 @@ BSONObj removeSortKeyMetaProjection(BSONObj projectionObj) { StringData extractGeoNearFieldFromIndexes(OperationContext* opCtx, Collection* collection) { invariant(collection); - std::vector<IndexDescriptor*> idxs; + std::vector<const IndexDescriptor*> idxs; collection->getIndexCatalog()->findIndexByType(opCtx, IndexNames::GEO_2D, idxs); uassert(ErrorCodes::IndexNotFound, str::stream() << "There is more than one 2d index on " << collection->ns().ns() |