Fixes for Windows.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-08-15 16:14:33 +02:00
parent 7de12d53b5
commit 9726920b7f
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 8 additions and 1 deletions

View File

@ -23,7 +23,14 @@ namespace ArbUt {
#endif #endif
} }
Exception(const Exception& e) noexcept : std::logic_error(e.what()), _stack(e._stack) {} Exception(const Exception& e) noexcept
: std::logic_error(e.what())
#if !WINDOWS
,
_stack(e._stack)
#endif
{
}
const char* what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW override { return logic_error::what(); } const char* what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW override { return logic_error::what(); }