From d90e73cacb757fbd91a5913324d8a55802e4f29e Mon Sep 17 00:00:00 2001 From: David Dight Date: Thu, 18 Apr 2024 11:33:21 +1000 Subject: [PATCH] pre-v1.0i-update --- include/fix8/conjure_enum.hpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/include/fix8/conjure_enum.hpp b/include/fix8/conjure_enum.hpp index a50ec151..c82319a1 100644 --- a/include/fix8/conjure_enum.hpp +++ b/include/fix8/conjure_enum.hpp @@ -613,11 +613,6 @@ class conjure_type final else return {}; } - static constexpr auto _type_name() noexcept - { - constexpr auto result { _get_name() }; - return fixed_string(result); - } public: conjure_type() = delete; @@ -628,7 +623,7 @@ class conjure_type final conjure_type& operator=(conjure_type&&) = delete; static consteval const char *tpeek() noexcept { return std::source_location::current().function_name(); } - static constexpr auto name { _type_name() }; + static constexpr auto name { get_name() }; }; //-----------------------------------------------------------------------------------------