Skip to content

Commit

Permalink
Fix cppwinrt exception type capture (#918)
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 authored Sep 23, 2023
1 parent 43d6ee5 commit 2e24d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alc/backends/wasapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e24d1e

Please sign in to comment.