mirror of
https://github.com/Mauler125/r5sdk.git
synced 2026-10-14 20:36:55 +02:00
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:
1 parent
4d34fff29f
commit
02cba0fb86
1 file changed
+1
-1
@@ -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));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user