fix sglog windows/msvc build issues caused by the recent sglog refactor

This commit is contained in:
Mamadou Babaei
2025-06-04 02:35:50 +02:00
parent 0df933ece5
commit 1b9d19a46b
+12
View File
@@ -145,6 +145,7 @@ struct TFSGLogString<char*>
}
};
#if ! PLATFORM_ANDROID && PLATFORM_LINUX
template<std::size_t L>
struct TFSGLogString<const char16_t[L]>
{
@@ -153,7 +154,9 @@ struct TFSGLogString<const char16_t[L]>
OutString = FString(StringCast<TCHAR>(Value).Get());
}
};
#endif /* ! PLATFORM_ANDROID && PLATFORM_LINUX */
#if ! PLATFORM_ANDROID && PLATFORM_LINUX
template<std::size_t L>
struct TFSGLogString<char16_t[L]>
{
@@ -162,7 +165,9 @@ struct TFSGLogString<char16_t[L]>
OutString = FString(StringCast<TCHAR>(Value).Get());
}
};
#endif /* ! PLATFORM_ANDROID && PLATFORM_LINUX */
#if ! PLATFORM_ANDROID && PLATFORM_LINUX
template<>
struct TFSGLogString<const char16_t*>
{
@@ -171,7 +176,9 @@ struct TFSGLogString<const char16_t*>
OutString = FString(StringCast<TCHAR>(Value).Get());
}
};
#endif /* ! PLATFORM_ANDROID && PLATFORM_LINUX */
#if ! PLATFORM_ANDROID && PLATFORM_LINUX
template<>
struct TFSGLogString<char16_t*>
{
@@ -180,6 +187,7 @@ struct TFSGLogString<char16_t*>
OutString = FString(StringCast<TCHAR>(Value).Get());
}
};
#endif /* ! PLATFORM_ANDROID && PLATFORM_LINUX */
template<>
struct TFSGLogString<const double>
@@ -419,6 +427,7 @@ struct TFSGLogString<long double>
}
};
#if ! PLATFORM_ANDROID && PLATFORM_LINUX
template<>
struct TFSGLogString<const std::size_t>
{
@@ -427,7 +436,9 @@ struct TFSGLogString<const std::size_t>
OutString = LexToString(Value);
}
};
#endif /* ! PLATFORM_ANDROID && PLATFORM_LINUX */
#if ! PLATFORM_ANDROID && PLATFORM_LINUX
template<>
struct TFSGLogString<std::size_t>
{
@@ -436,6 +447,7 @@ struct TFSGLogString<std::size_t>
OutString = LexToString(Value);
}
};
#endif /* ! PLATFORM_ANDROID && PLATFORM_LINUX */
template<>
struct TFSGLogString<const uint8>