summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/s2_common.h
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2016-05-03 13:57:13 -0400
committerDavid Storch <david.storch@10gen.com>2016-05-04 09:41:58 -0400
commit3e3313409d90026ed5f629e8ffb87b04cca5a524 (patch)
tree89552b979750cb9d5c4abf26472bb9211179eb19 /src/mongo/db/index/s2_common.h
parent8f445bef3ad620018a422e7b08ebff552dd0b825 (diff)
downloadmongo-3e3313409d90026ed5f629e8ffb87b04cca5a524.tar.gz
SERVER-23349 make CollatorInterface methods const
Also changes all uses of CollatorInterface* to pointers-to-const.
Diffstat (limited to 'src/mongo/db/index/s2_common.h')
-rw-r--r--src/mongo/db/index/s2_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index/s2_common.h b/src/mongo/db/index/s2_common.h
index 5afbbec5fa0..83153395006 100644
--- a/src/mongo/db/index/s2_common.h
+++ b/src/mongo/db/index/s2_common.h
@@ -74,7 +74,7 @@ struct S2IndexingParams {
double radius;
// Null if this index orders strings according to the simple binary compare. If non-null,
// represents the collator used to generate index keys for indexed strings.
- CollatorInterface* collator = nullptr;
+ const CollatorInterface* collator = nullptr;
std::string toString() const;