summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/index_bounds_builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/index_bounds_builder.h')
-rw-r--r--src/mongo/db/query/index_bounds_builder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/index_bounds_builder.h b/src/mongo/db/query/index_bounds_builder.h
index 2a1adbd1241..b37901f6d2d 100644
--- a/src/mongo/db/query/index_bounds_builder.h
+++ b/src/mongo/db/query/index_bounds_builder.h
@@ -131,7 +131,7 @@ public:
* string, and 'collator' is non-null, the result contains the collator-generated comparison key
* rather than the original string.
*/
- static BSONObj objFromElement(const BSONElement& elt, CollatorInterface* collator);
+ static BSONObj objFromElement(const BSONElement& elt, const CollatorInterface* collator);
/**
* Swap start/end in the provided interval.