diff --git a/src/output/plugins/wasapi/WasapiOutputPlugin.cxx b/src/output/plugins/wasapi/WasapiOutputPlugin.cxx index a0c08008f..e387a48e4 100644 --- a/src/output/plugins/wasapi/WasapiOutputPlugin.cxx +++ b/src/output/plugins/wasapi/WasapiOutputPlugin.cxx @@ -85,17 +85,6 @@ gcc_const constexpr uint32_t GetChannelMask(const uint8_t channels) noexcept { } } -template -inline bool SafeTry(Functor &&functor) { - try { - functor(); - return true; - } catch (...) { - FormatError(std::current_exception(), "%s"); - return false; - } -} - template inline bool SafeSilenceTry(Functor &&functor) { try {