1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Remove pointless overloads of iequals, implicitly converts to views

This commit is contained in:
ζeh Matt
2025-04-21 03:41:56 +03:00
parent 68f6ea8d15
commit f6d78375b5
2 changed files with 0 additions and 12 deletions

View File

@@ -172,11 +172,6 @@ namespace OpenRCT2::String
return equalsImpl(a, b, false);
}
bool equals(const u8string& a, const u8string& b)
{
return equalsImpl(a, b, false);
}
bool equals(const utf8* a, const utf8* b, bool ignoreCase)
{
if (a == b)
@@ -197,11 +192,6 @@ namespace OpenRCT2::String
return equalsImpl(a, b, true);
}
bool iequals(const u8string& a, const u8string& b)
{
return equalsImpl(a, b, true);
}
bool iequals(const utf8* a, const utf8* b)
{
if (a == b)

View File

@@ -52,10 +52,8 @@ namespace OpenRCT2::String
int32_t compare(const utf8* a, const utf8* b, bool ignoreCase = false);
bool equals(u8string_view a, u8string_view b);
bool equals(const u8string& a, const u8string& b);
bool equals(const utf8* a, const utf8* b, bool ignoreCase = false);
bool iequals(u8string_view a, u8string_view b);
bool iequals(const u8string& a, const u8string& b);
bool iequals(const utf8* a, const utf8* b);
bool startsWith(std::string_view str, std::string_view match, bool ignoreCase = false);