functions taking std::function should not be noexcept

This commit is contained in:
Chuck Walbourn
2020-05-30 22:14:59 -07:00
parent 21f7e28b80
commit 8359882401
6 changed files with 6 additions and 6 deletions

View File

@@ -947,7 +947,7 @@ HRESULT DirectX::SaveWICTextureToFile(
const wchar_t* fileName,
const GUID* targetFormat,
std::function<void(IPropertyBag2*)> setCustomProps,
bool forceSRGB) noexcept
bool forceSRGB)
{
if (!fileName)
return E_INVALIDARG;