Remove unnecessary fmt::throw_exception destructor body

Tested with GCC and Clang in Debug mode, it now works.
This commit is contained in:
Nekotekina 2021-01-19 23:02:07 +03:00
parent 5662867730
commit c66b155dcb

View file

@ -298,14 +298,7 @@ namespace fmt
} }
#ifndef _MSC_VER #ifndef _MSC_VER
#if defined(_DEBUG)
[[noreturn]] ~throw_exception()
{
__builtin_unreachable();
}
#else
[[noreturn]] ~throw_exception(); [[noreturn]] ~throw_exception();
#endif
#endif #endif
}; };