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
|
#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
|
||||||
|
|
Loading…
Reference in a new issue