Another blind fix
This commit is contained in:
@@ -15,21 +15,6 @@ constexpr char DirectorySeparatorChar = '\\';
|
||||
constexpr char AltDirectorySeparatorChar = '/';
|
||||
constexpr char VolumeSeparatorChar = ':';
|
||||
|
||||
#if PLATFORM_TEXT_IS_CHAR16
|
||||
|
||||
int32 StringUtils::Length(const wchar_t* str)
|
||||
{
|
||||
int32 result = 0;
|
||||
if (str)
|
||||
{
|
||||
while (*str)
|
||||
str++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
const Char* StringUtils::FindIgnoreCase(const Char* str, const Char* toFind)
|
||||
{
|
||||
if (toFind == nullptr || str == nullptr)
|
||||
|
||||
@@ -186,8 +186,8 @@ API_ENUM() enum class ArchitectureType
|
||||
#ifndef PLATFORM_ARCH_ARM64
|
||||
#define PLATFORM_ARCH_ARM64 0
|
||||
#endif
|
||||
#ifndef PLATFORM_WCHAR_IS_CHAR16
|
||||
#define PLATFORM_WCHAR_IS_CHAR16 0
|
||||
#ifndef PLATFORM_TEXT_IS_CHAR16
|
||||
#define PLATFORM_TEXT_IS_CHAR16 0
|
||||
#endif
|
||||
#ifndef PLATFORM_DEBUG_BREAK
|
||||
#define PLATFORM_DEBUG_BREAK
|
||||
|
||||
@@ -115,9 +115,6 @@ public:
|
||||
public:
|
||||
// Gets the string length. Returns 0 if str is null.
|
||||
static int32 Length(const Char* str);
|
||||
#if PLATFORM_TEXT_IS_CHAR16
|
||||
static int32 Length(const wchar_t* str);
|
||||
#endif
|
||||
|
||||
// Gets the string length. Returns 0 if str is null.
|
||||
static int32 Length(const char* str);
|
||||
|
||||
Reference in New Issue
Block a user