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

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