diff --git a/tl/expected.hpp b/tl/expected.hpp index 4f88682..df79526 100644 --- a/tl/expected.hpp +++ b/tl/expected.hpp @@ -195,7 +195,7 @@ static constexpr unexpect_t unexpect{}; /// \exclude namespace detail { template -[[noreturn]] constexpr void throw_exception(E &&e) { +[[noreturn]] TL_EXPECTED_11_CONSTEXPR void throw_exception(E &&e) { #ifdef TL_EXPECTED_EXCEPTIONS_ENABLED throw std::forward(e); #else