fix clang trunk build
This commit is contained in:
parent
3237b9a367
commit
09f879a995
1 changed files with 1 additions and 1 deletions
|
@ -583,7 +583,7 @@ constexpr bool is_valid() noexcept {
|
||||||
if constexpr (custom_name.empty()) {
|
if constexpr (custom_name.empty()) {
|
||||||
return n<E, v>().size() != 0;
|
return n<E, v>().size() != 0;
|
||||||
} else {
|
} else {
|
||||||
return name.size() != 0;
|
return custom_name.size() != 0;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
return enum_name<E, static_cast<E>(V)>().size() != 0;
|
return enum_name<E, static_cast<E>(V)>().size() != 0;
|
||||||
|
|
Loading…
Reference in a new issue