From be15494b735883b9c7bac4197a1d096b20237012 Mon Sep 17 00:00:00 2001 From: Sy Brand Date: Mon, 1 Sep 2025 10:43:40 +0100 Subject: [PATCH] Fix no exceptions on non-MSVC --- include/tl/expected.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tl/expected.hpp b/include/tl/expected.hpp index 2bbde88..a88345b 100644 --- a/include/tl/expected.hpp +++ b/include/tl/expected.hpp @@ -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