output/wasapi: remove unused function SafeTry()

This commit is contained in:
Max Kellermann 2021-03-08 17:43:33 +01:00
parent 4d9af9a81b
commit cd53ca22c6
1 changed files with 0 additions and 11 deletions

View File

@ -85,17 +85,6 @@ gcc_const constexpr uint32_t GetChannelMask(const uint8_t channels) noexcept {
}
}
template <typename Functor>
inline bool SafeTry(Functor &&functor) {
try {
functor();
return true;
} catch (...) {
FormatError(std::current_exception(), "%s");
return false;
}
}
template <typename Functor>
inline bool SafeSilenceTry(Functor &&functor) {
try {