updated type_info.hpp
This commit is contained in:
parent
775a7262f8
commit
67a5eab44f
@ -62,11 +62,9 @@ template<typename Type>
|
|||||||
template<typename Type>
|
template<typename Type>
|
||||||
[[nodiscard]] static constexpr std::uint32_t type() noexcept {
|
[[nodiscard]] static constexpr std::uint32_t type() noexcept {
|
||||||
#if defined __clang__ || defined __GNUC__
|
#if defined __clang__ || defined __GNUC__
|
||||||
constexpr auto value = internal::fnv1a(__PRETTY_FUNCTION__);
|
return internal::fnv1a(__PRETTY_FUNCTION__);
|
||||||
return value;
|
|
||||||
#elif defined _MSC_VER
|
#elif defined _MSC_VER
|
||||||
constexpr auto value = internal::fnv1a(__FUNCSIG__);
|
return internal::fnv1a(__FUNCSIG__);
|
||||||
return value;
|
|
||||||
#else
|
#else
|
||||||
return internal::fake();
|
return internal::fake();
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user