From 7aea27412d8ca323967a87a4c878e7d759e0ff47 Mon Sep 17 00:00:00 2001 From: Bernd Amend Date: Sat, 22 May 2021 18:44:03 +0200 Subject: [PATCH] make is_nothrow_forward_constructible_v static (warning from gcc 7) --- include/chaiscript/chaiscript_defines.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/chaiscript/chaiscript_defines.hpp b/include/chaiscript/chaiscript_defines.hpp index b2ec5efb..68dee8b6 100644 --- a/include/chaiscript/chaiscript_defines.hpp +++ b/include/chaiscript/chaiscript_defines.hpp @@ -257,7 +257,7 @@ namespace chaiscript { }; template< class From, class To > - inline constexpr bool is_nothrow_forward_constructible_v + static inline constexpr bool is_nothrow_forward_constructible_v = is_nothrow_forward_constructible::value; template