1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 06:23:04 +01:00

Replace str_is_null_or_empty() with String::IsNullOrEmpty()

This commit is contained in:
Gymnasiast
2023-01-07 15:41:38 +01:00
parent 24247e9c6b
commit a516dc507e
5 changed files with 4 additions and 11 deletions

View File

@@ -336,11 +336,6 @@ char* safe_strcat(char* destination, const char* source, size_t size)
return result;
}
bool str_is_null_or_empty(const char* str)
{
return str == nullptr || str[0] == 0;
}
uint32_t util_rand()
{
thread_local std::mt19937 _prng(std::random_device{}());