replace noreturn attribute with standard C++ version

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-03-15 21:03:09 -07:00
parent b5d1a09010
commit 591f51f3d3
9 changed files with 15 additions and 14 deletions

View File

@@ -42,14 +42,14 @@
* the std::exception_ptr itself.
*/
template<typename T>
gcc_noreturn
[[noreturn]]
inline void
ThrowException(T &&t)
{
throw std::forward<T>(t);
}
gcc_noreturn
[[noreturn]]
inline void
ThrowException(std::exception_ptr ep)
{