From 4c54c094eaa03d7f5d8d20e66ee3be7b40339a77 Mon Sep 17 00:00:00 2001 From: neargye Date: Sun, 21 May 2023 23:35:04 +0400 Subject: [PATCH] clean-up --- include/magic_enum_fuse.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/magic_enum_fuse.hpp b/include/magic_enum_fuse.hpp index ef8dda3..bdf8562 100644 --- a/include/magic_enum_fuse.hpp +++ b/include/magic_enum_fuse.hpp @@ -39,7 +39,7 @@ namespace magic_enum { namespace detail { template -inline constexpr auto subtypes_v = subtype_v>; +inline constexpr auto subtypes_v = subtype_v; template constexpr optional fuse_one_enum(optional hash, E value) noexcept { @@ -90,7 +90,7 @@ template // Returns a bijective mix of several enum values. This can be used to emulate 2D switch/case statements. template [[nodiscard]] constexpr auto enum_fuse(Es... values) noexcept { - return enum_fuse>(values...); + return enum_fuse...>>(values...); } } // namespace magic_enum