Commit cd53ca22 authored by Max Kellermann's avatar Max Kellermann

output/wasapi: remove unused function SafeTry()

parent 4d9af9a8
......@@ -86,17 +86,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 {
functor();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment