util/Exception: forward the exception in ThrowException()

Fixes -Wreturn-std-move (clang 8).
This commit is contained in:
Max Kellermann 2019-08-16 13:18:53 +02:00
parent 3344953db8
commit 674ee9d19a

View File

@ -46,7 +46,7 @@ gcc_noreturn
inline void
ThrowException(T &&t)
{
throw t;
throw std::forward<T>(t);
}
gcc_noreturn