1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-09 23:34:23 +00:00

hash_v inline

This commit is contained in:
neargye 2022-08-13 17:44:32 +04:00
parent f4ebb4f185
commit e6ce44337a

View file

@ -789,7 +789,7 @@ struct constexpr_hash_t<Value, std::enable_if_t<std::is_same_v<Value, string_vie
};
template <typename Hash>
[[maybe_unused]] constexpr static Hash hash_v{};
inline constexpr Hash hash_v{};
template <auto* GlobValues, typename Hash>
constexpr auto calculate_cases(std::size_t Page) noexcept {