diff --git a/alc/backends/wasapi.cpp b/alc/backends/wasapi.cpp index fc626fc655..ebd095fd46 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