mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Add DoStringise overloads for strings, needed for asserts
This commit is contained in:
@@ -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