From 573e99dd2d08af7c07ede3ebb2a3900b56e94438 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Fri, 4 Oct 2024 22:16:38 +0200 Subject: [PATCH] Fix compilation regression --- Source/Engine/Platform/StringUtils.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Source/Engine/Platform/StringUtils.h b/Source/Engine/Platform/StringUtils.h index eb567b651..7b2b0572a 100644 --- a/Source/Engine/Platform/StringUtils.h +++ b/Source/Engine/Platform/StringUtils.h @@ -224,7 +224,7 @@ public: template static bool ParseHex(const CharType* str, uint32* result) { - return ParseHex(str, Length(str), result); + return StringUtils::ParseHex(str, StringUtils::Length(str), result); } // Parses text to the unsigned integer value. Returns true if failed to convert the value. @@ -247,7 +247,7 @@ public: static bool Parse(const T* str, uint32 length, uint32* result) { uint64 tmp; - const bool b = Parse(str, length, &tmp); + const bool b = StringUtils::Parse(str, length, &tmp); *result = (uint32)tmp; return b; } @@ -255,7 +255,7 @@ public: static bool Parse(const T* str, uint32 length, uint16* result) { uint64 tmp; - const bool b = Parse(str, length, &tmp); + const bool b = StringUtils::Parse(str, length, &tmp); *result = (uint16)tmp; return b; } @@ -263,7 +263,7 @@ public: static bool Parse(const T* str, uint32 length, uint8* result) { uint64 tmp; - const bool b = Parse(str, length, &tmp); + const bool b = StringUtils::Parse(str, length, &tmp); *result = (uint8)tmp; return b; } @@ -296,7 +296,7 @@ public: static bool Parse(const T* str, uint32 length, int32* result) { int64 tmp; - const bool b = Parse(str, length, &tmp); + const bool b = StringUtils::Parse(str, length, &tmp); *result = (int32)tmp; return b; } @@ -304,7 +304,7 @@ public: static bool Parse(const T* str, uint32 length, int16* result) { int64 tmp; - const bool b = Parse(str, length, &tmp); + const bool b = StringUtils::Parse(str, length, &tmp); *result = (int16)tmp; return b; } @@ -312,7 +312,7 @@ public: static bool Parse(const T* str, uint32 length, int8* result) { int64 tmp; - const bool b = Parse(str, length, &tmp); + const bool b = StringUtils::Parse(str, length, &tmp); *result = (int8)tmp; return b; } @@ -321,7 +321,7 @@ public: template static bool Parse(const T* str, U* result) { - return Parse(str, Length(str), result); + return StringUtils::Parse(str, StringUtils::Length(str), result); } // Parses text to the scalar value. Returns true if failed to convert the value.