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

fix linking error

This commit is contained in:
neargye 2022-04-14 17:58:37 +04:00
parent d2ec62779f
commit d1ccd22c85

View file

@ -792,10 +792,10 @@ enum class case_call_t {
}; };
template <typename T = void> template <typename T = void>
constexpr auto default_result_type_lambda = []() noexcept(std::is_nothrow_default_constructible_v<T>) { return T{}; }; inline constexpr auto default_result_type_lambda = []() noexcept(std::is_nothrow_default_constructible_v<T>) { return T{}; };
template <> template <>
constexpr auto default_result_type_lambda<void> = []() noexcept {}; inline constexpr auto default_result_type_lambda<void> = []() noexcept {};
template <auto* Arr, typename Hash> template <auto* Arr, typename Hash>
constexpr bool no_duplicate() noexcept { constexpr bool no_duplicate() noexcept {