mirror of
https://github.com/TartanLlama/expected.git
synced 2025-08-03 19:04:29 +02:00
Fix Clang C++11 error
This commit is contained in:
@@ -195,7 +195,7 @@ static constexpr unexpect_t unexpect{};
|
||||
/// \exclude
|
||||
namespace detail {
|
||||
template<typename E>
|
||||
[[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>(e);
|
||||
#else
|
||||
|
Reference in New Issue
Block a user