зеркало из https://github.com/microsoft/DirectXTK.git
Updated ThrowIfFailed (markdown)
Родитель
0d07fdfcf9
Коммит
9b25748464
|
@ -61,7 +61,8 @@ The templates all include the basic implementation above, but production use mig
|
|||
virtual const char* what() const override
|
||||
{
|
||||
static char s_str[64] = { 0 };
|
||||
sprintf_s(s_str, "Failure with HRESULT of %08X", static_cast<unsigned int>(result));
|
||||
sprintf_s(s_str, "Failure with HRESULT of %08X",
|
||||
static_cast<unsigned int>(result));
|
||||
return s_str;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче