fix NAMEOF_CONST_ENUM
This commit is contained in:
parent
c4b3ce3e34
commit
8fbf1fb1f8
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ template <auto V>
|
||||||
using D = std::decay_t<decltype(V)>;
|
using D = std::decay_t<decltype(V)>;
|
||||||
static_assert(std::is_enum_v<D>, "nameof::nameof_enum requires enum type.");
|
static_assert(std::is_enum_v<D>, "nameof::nameof_enum requires enum type.");
|
||||||
|
|
||||||
return nameof_enum_impl<D, V>();
|
return detail::nameof_enum_impl<D, V>();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Obtains string name of type.
|
// Obtains string name of type.
|
||||||
|
|
Loading…
Reference in a new issue