diff options
author | Deal <[email protected]> | 2023-09-24 00:13:00 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-09-23 16:13:00 +0000 |
commit | 2e24d1ed773c2fb0f5b85acb9c02acb9c8b5462d (patch) | |
tree | 7e86027248738c1c690a89f930c9671993e2dd0c /alc | |
parent | 43d6ee50428274aff5b9aea2daf2ebf7d7fe3d0e (diff) |
Fix cppwinrt exception type capture (#918)
Diffstat (limited to 'alc')
-rw-r--r-- | alc/backends/wasapi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/wasapi.cpp b/alc/backends/wasapi.cpp index fc626fc6..ebd095fd 100644 --- a/alc/backends/wasapi.cpp +++ b/alc/backends/wasapi.cpp @@ -735,7 +735,7 @@ struct DeviceHelper final : private IMMNotificationClient std::ignore = AddDevice(deviceInfo, deviceInfo.Id().data(), list); } } - catch (std::exception& /*ex*/) { + catch (const winrt::hresult_error& /*ex*/) { } } #endif |