Build fix on gcc 12

This commit is contained in:
King_DuckZ 2022-05-19 14:39:30 +02:00
parent 678624a75d
commit e55390338a

View file

@ -18,6 +18,7 @@
#pragma once #pragma once
#include "../vm.hpp" #include "../vm.hpp"
#include "module_and_name.hpp"
#include <string_view> #include <string_view>
#include <vector> #include <vector>
#include <tuple> #include <tuple>
@ -46,10 +47,9 @@ namespace wren {
#if __cpp_concepts >= 201907 #if __cpp_concepts >= 201907
template <typename T> template <typename T>
concept ConstCharTuple = requires { concept ConstCharTuple =
std::same_as<std::remove_cv_t<T>, Handle> or std::same_as<std::decay_t<T>, Handle> or
std::same_as<std::remove_cv_t<T>, ModuleAndName>; std::same_as<std::decay_t<T>, ModuleAndName>;
};
#endif #endif
#if __cpp_concepts >= 201907 #if __cpp_concepts >= 201907