diff --git a/include/nameof.hpp b/include/nameof.hpp index 7c52d4d..057981d 100644 --- a/include/nameof.hpp +++ b/include/nameof.hpp @@ -695,7 +695,7 @@ constexpr auto values() noexcept { static_assert(range_size > 0, "nameof::enum_range requires valid size."); static_assert(range_size < (std::numeric_limits::max)(), "nameof::enum_range requires valid size."); - return values>(std::make_index_sequence{}); + return values(std::make_index_sequence{}); } template