Fix string formatting of type name in warning

This commit is contained in:
baldurk
2019-07-29 10:56:13 +01:00
parent 97770520ee
commit fc8bf393e5
+2 -1
View File
@@ -243,7 +243,8 @@ void DoSerialiseViaResourceId(SerialiserType &ser, type &el)
{
// It can be OK for a resource to have no live equivalent if the capture decided its not
// needed, which some APIs do fairly often.
RDCWARN("Capture may be missing reference to %s resource (%llu).", TypeName<type>(), id);
RDCWARN("Capture may be missing reference to %s resource (%llu).", TypeName<type>().c_str(),
id);
}
}
}