mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 22:34:33 +01:00
Remove unused functions
This commit is contained in:
@@ -420,18 +420,6 @@ namespace String
|
||||
return result;
|
||||
}
|
||||
|
||||
utf8* DiscardUse(utf8** ptr, utf8* replacement)
|
||||
{
|
||||
Memory::Free(*ptr);
|
||||
*ptr = replacement;
|
||||
return replacement;
|
||||
}
|
||||
|
||||
utf8* DiscardDuplicate(utf8** ptr, const utf8* replacement)
|
||||
{
|
||||
return DiscardUse(ptr, String::Duplicate(replacement));
|
||||
}
|
||||
|
||||
std::vector<std::string> Split(std::string_view s, std::string_view delimiter)
|
||||
{
|
||||
if (delimiter.empty())
|
||||
|
||||
Reference in New Issue
Block a user