mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-25 16:20:36 +00:00
Add DoStringise overloads for strings, needed for asserts
This commit is contained in:
1 file changed
+12
@@ -744,6 +744,18 @@ void DoSerialise(SerialiserType &ser, SDObject *el)
|
||||
/////////////////////////////////////////////////////////////
|
||||
// Basic types
|
||||
|
||||
template <>
|
||||
std::string DoStringise(const std::string &el)
|
||||
{
|
||||
return el;
|
||||
}
|
||||
|
||||
template <>
|
||||
std::string DoStringise(const rdcstr &el)
|
||||
{
|
||||
return el;
|
||||
}
|
||||
|
||||
template <>
|
||||
std::string DoStringise(void *const &el)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user