diff --git a/src/Exception.hpp b/src/Exception.hpp index 3043de4..ab381c0 100644 --- a/src/Exception.hpp +++ b/src/Exception.hpp @@ -23,7 +23,14 @@ namespace ArbUt { #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(); }