From db183d6f04854f8a10ae03878a0d0ab663ed5d3c Mon Sep 17 00:00:00 2001 From: Simon Brand Date: Wed, 6 Jun 2018 10:54:54 +0100 Subject: [PATCH] Fix Clang C++11 error --- tl/expected.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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