1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:17:35 +00:00

AK: Remove String <-> char const* comparison operators

During the removal of StringView(char const*), all users of these
functions were removed, and they are of dubious value (relying on
implicit StringView conversion).
This commit is contained in:
sin-ack 2022-07-11 20:54:28 +00:00 committed by Andreas Kling
parent 5422691f07
commit 3f8060d859
2 changed files with 0 additions and 25 deletions

View file

@ -327,11 +327,6 @@ struct CaseInsensitiveStringTraits : public Traits<String> {
static bool equals(String const& a, String const& b) { return a.equals_ignoring_case(b); }
};
bool operator<(char const*, String const&);
bool operator>=(char const*, String const&);
bool operator>(char const*, String const&);
bool operator<=(char const*, String const&);
String escape_html_entities(StringView html);
InputStream& operator>>(InputStream& stream, String& string);