summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/matcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/matcher/matcher.h')
-rw-r--r--src/mongo/db/matcher/matcher.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/matcher/matcher.h b/src/mongo/db/matcher/matcher.h
index 3d64908036e..e37a6a0a3b5 100644
--- a/src/mongo/db/matcher/matcher.h
+++ b/src/mongo/db/matcher/matcher.h
@@ -55,7 +55,7 @@ public:
*/
explicit Matcher(const BSONObj& pattern,
const ExtensionsCallback& extensionsCallback,
- CollatorInterface* collator);
+ const CollatorInterface* collator);
bool matches(const BSONObj& doc, MatchDetails* details = NULL) const;