Fix no exceptions on non-MSVC

This commit is contained in:
Sy Brand
2025-09-01 10:43:40 +01:00
parent 74c319ccd8
commit be15494b73

View File

@@ -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