replace noreturn attribute with standard C++ version
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user