Commit 80172e17 authored by Max Kellermann's avatar Max Kellermann Committed by Max Kellermann

util/Exception: remove redundant std::exception catch clause

The "std::nested_exception" catch block already covers this perfectly.
parent 2d96b054
......@@ -95,12 +95,6 @@ FindRetrowNested(std::exception_ptr ep)
std::rethrow_exception(ep);
} catch (const T &t) {
throw;
} catch (const std::exception &e) {
try {
std::rethrow_if_nested(e);
} catch (...) {
FindRetrowNested<T>(std::current_exception());
}
} catch (const std::nested_exception &ne) {
FindRetrowNested<T>(ne.nested_ptr());
} catch (...) {
......
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