From 7770d67392538b16241391f153247f7f9cfd8442 Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Thu, 19 May 2022 14:39:30 +0200 Subject: [PATCH] Build fix on gcc 12 --- include/wrenpp/detail/setters_getters.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/wrenpp/detail/setters_getters.hpp b/include/wrenpp/detail/setters_getters.hpp index 22336d9..472359d 100644 --- a/include/wrenpp/detail/setters_getters.hpp +++ b/include/wrenpp/detail/setters_getters.hpp @@ -18,6 +18,7 @@ #pragma once #include "../vm.hpp" +#include "module_and_name.hpp" #include #include #include @@ -46,10 +47,9 @@ namespace wren { #if __cpp_concepts >= 201907 template - concept ConstCharTuple = requires { - std::same_as, Handle> or - std::same_as, ModuleAndName>; - }; + concept ConstCharTuple = + std::same_as, Handle> or + std::same_as, ModuleAndName>; #endif #if __cpp_concepts >= 201907