diff options
Diffstat (limited to 'src/mongo/db/query/collation/collator_interface.h')
-rw-r--r-- | src/mongo/db/query/collation/collator_interface.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mongo/db/query/collation/collator_interface.h b/src/mongo/db/query/collation/collator_interface.h index 7d44a4c63ed..3bc54e552c7 100644 --- a/src/mongo/db/query/collation/collator_interface.h +++ b/src/mongo/db/query/collation/collator_interface.h @@ -47,8 +47,7 @@ namespace mongo { * * Does not throw exceptions. */ -class CollatorInterface : public StringData::ComparatorInterface, - public BSONObj::ComparatorInterface { +class CollatorInterface : public StringData::ComparatorInterface { MONGO_DISALLOW_COPYING(CollatorInterface); public: @@ -102,8 +101,6 @@ public: */ virtual int compare(StringData left, StringData right) const = 0; - virtual int compare(const BSONObj& left, const BSONObj& right) const = 0; - /** * Hashes the string such that strings which are equal under this collation also have equal * hashes. |