Remove unnecessary fmt::throw_exception destructor body
Tested with GCC and Clang in Debug mode, it now works.
This commit is contained in:
@@ -298,14 +298,7 @@ namespace fmt
|
||||
}
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#if defined(_DEBUG)
|
||||
[[noreturn]] ~throw_exception()
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
#else
|
||||
[[noreturn]] ~throw_exception();
|
||||
#endif
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user