Fix Clang C++11 error
This commit is contained in:
1 parent
1eb0a2ec98
commit
db183d6f04
1 file changed
+1
-1
+1
-1
@@ -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