From c0239a52e5fd725d7c14ca018b664e967081b4ee Mon Sep 17 00:00:00 2001 From: terik23 Date: Sun, 14 Apr 2019 17:33:16 +0500 Subject: [PATCH] clean-up --- include/nameof.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/nameof.hpp b/include/nameof.hpp index ab7ea02..231590d 100644 --- a/include/nameof.hpp +++ b/include/nameof.hpp @@ -121,9 +121,9 @@ template template [[nodiscard]] constexpr decltype(auto) enum_strings_impl(std::integer_sequence) noexcept { static_assert(std::is_enum_v, "nameof::detail::enum_strings_impl requires enum type."); - constexpr std::array enum_names{{enum_name_impl(I + O)>()...}}; + constexpr std::array names{{enum_name_impl(I + O)>()...}}; - return enum_names; + return names; } template >