Try to fix tests (#43)
This commit is contained in:
parent
c793b69c40
commit
f32bbb0f09
1 changed files with 2 additions and 2 deletions
|
@ -914,7 +914,7 @@ string nameof_short_type_rtti(const char* tn) noexcept {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
template <auto V>
|
template <auto V, auto U = V>
|
||||||
constexpr auto n() noexcept {
|
constexpr auto n() noexcept {
|
||||||
[[maybe_unused]] constexpr auto custom_name = customize::member_name<V>();
|
[[maybe_unused]] constexpr auto custom_name = customize::member_name<V>();
|
||||||
|
|
||||||
|
@ -953,7 +953,7 @@ constexpr auto get_member_name() noexcept {
|
||||||
if constexpr (std::is_member_function_pointer_v<decltype(V)>) {
|
if constexpr (std::is_member_function_pointer_v<decltype(V)>) {
|
||||||
return n<V>();
|
return n<V>();
|
||||||
} else {
|
} else {
|
||||||
return n<&(static_v<union_type<decltype(get_base_type(V))>>.f.*V)>();
|
return n<V, &(static_v<union_type<decltype(get_base_type(V))>>.f.*V)>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue