1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

Fix fmt::throw_exception destructor v2

Remove destructor for MSVC.
This commit is contained in:
Nekotekina 2021-01-18 20:30:29 +03:00
parent 8a2a76da1e
commit 6cf0c5cd6d

View File

@ -297,17 +297,15 @@ namespace fmt
raw_throw_exception({line, col, file, func}, reinterpret_cast<const char*>(fmt), type_list, fmt_args_t<Args...>{fmt_unveil<Args>::get(args)...}); raw_throw_exception({line, col, file, func}, reinterpret_cast<const char*>(fmt), type_list, fmt_args_t<Args...>{fmt_unveil<Args>::get(args)...});
} }
#ifdef _DEBUG #ifndef _MSC_VER
#if defined(_DEBUG)
[[noreturn]] ~throw_exception() [[noreturn]] ~throw_exception()
{ {
#ifdef _MSC_VER
__assume(false);
#else
__builtin_unreachable(); __builtin_unreachable();
#endif
} }
#else #else
[[noreturn]] ~throw_exception(); [[noreturn]] ~throw_exception();
#endif
#endif #endif
}; };