Removed StringAdapter::equals()

This commit is contained in:
Benoit Blanchon
2021-07-27 13:52:13 +02:00
parent 5790f3c8f7
commit 6632fa8da1
11 changed files with 2 additions and 65 deletions

View File

@@ -33,12 +33,6 @@ class StringAdapter<std::basic_string<char, TCharTraits, TAllocator> > {
return _str->compare(other);
}
bool equals(const char* expected) const {
if (!expected)
return false;
return *_str == expected;
}
size_t size() const {
return _str->size();
}