Updated ThrowIfFailed (markdown)

Chuck Walbourn 2017-07-18 15:16:12 -07:00
Родитель 0d07fdfcf9
Коммит 9b25748464
1 изменённых файлов: 2 добавлений и 1 удалений

@ -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;
}