From 312d1735efe1d3ed1a92f74ea7a2134a69d99f8b Mon Sep 17 00:00:00 2001 From: Wojciech Figat Date: Thu, 27 Oct 2022 13:39:35 +0200 Subject: [PATCH] Attempt to fix clang compilation --- Source/Engine/Core/Types/StringView.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/Core/Types/StringView.h b/Source/Engine/Core/Types/StringView.h index b0a77913e..1a342d7fd 100644 --- a/Source/Engine/Core/Types/StringView.h +++ b/Source/Engine/Core/Types/StringView.h @@ -113,7 +113,7 @@ public: /// Gets the pointer to the string or to the static empty text if string is null. Returned pointer is always non-null, but is not null-terminated. /// [Deprecated on 26.10.2022, expires on 26.10.2024] Use GetText() /// - FORCE_INLINE DEPRECATED const T* GetNonTerminatedText() const + DEPRECATED const T* GetNonTerminatedText() const { return _data ? _data : (const T*)TEXT(""); }