mirror of
https://github.com/TartanLlama/expected.git
synced 2025-09-25 12:30:56 +02:00
Fix no exceptions on non-MSVC
This commit is contained in:
@@ -221,7 +221,7 @@ static constexpr unexpect_t unexpect{};
|
||||
|
||||
#ifdef TL_EXPECTED_EXCEPTIONS_ENABLED
|
||||
#define TL_EXPECTED_THROW_EXCEPTION(e) throw((e));
|
||||
#elif defined(_MSC_VER)
|
||||
#else
|
||||
#define TL_EXPECTED_THROW_EXCEPTION(e) std::terminate();
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user