Tier2: fix incorrect return type for JSON_TypeToString()

Should return const char*, function is currently unused so this wasn't noticed until now.
This commit is contained in:
Kawe Mazidjatari committed 2025-06-22 14:08:23 +02:00
1 parent 4d34fff29f
commit 02cba0fb86
1 file changed
+1 -1
+1 -1
View File
@@ -111,7 +111,7 @@ inline const char* JSON_TypeToString(const JSONFieldType_e type)
}
template <class T>
inline bool JSON_TypeToString(const T& data)
inline const char* JSON_TypeToString(const T& data)
{
return JSON_TypeToString(JSON_ExtractType(data));
}