Build fix on gcc 12
This commit is contained in:
parent
ab595cc8aa
commit
7770d67392
1 changed files with 4 additions and 4 deletions
|
@ -18,6 +18,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "../vm.hpp"
|
||||
#include "module_and_name.hpp"
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
#include <tuple>
|
||||
|
@ -46,10 +47,9 @@ namespace wren {
|
|||
|
||||
#if __cpp_concepts >= 201907
|
||||
template <typename T>
|
||||
concept ConstCharTuple = requires {
|
||||
std::same_as<std::remove_cv_t<T>, Handle> or
|
||||
std::same_as<std::remove_cv_t<T>, ModuleAndName>;
|
||||
};
|
||||
concept ConstCharTuple =
|
||||
std::same_as<std::decay_t<T>, Handle> or
|
||||
std::same_as<std::decay_t<T>, ModuleAndName>;
|
||||
#endif
|
||||
|
||||
#if __cpp_concepts >= 201907
|
||||
|
|
Loading…
Reference in a new issue