From 5bc2689fa5dbfe543b70b87fc63b0d3bdaef963d Mon Sep 17 00:00:00 2001 From: Florian Becker Date: Fri, 5 Nov 2021 18:24:11 +0100 Subject: [PATCH] Some code quality (#110) --- include/magic_enum.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/magic_enum.hpp b/include/magic_enum.hpp index 50506da..f122000 100644 --- a/include/magic_enum.hpp +++ b/include/magic_enum.hpp @@ -126,8 +126,8 @@ namespace customize { template struct enum_range { static_assert(std::is_enum_v, "magic_enum::customize::enum_range requires enum type."); - inline static constexpr int min = MAGIC_ENUM_RANGE_MIN; - inline static constexpr int max = MAGIC_ENUM_RANGE_MAX; + static constexpr int min = MAGIC_ENUM_RANGE_MIN; + static constexpr int max = MAGIC_ENUM_RANGE_MAX; static_assert(max > min, "magic_enum::customize::enum_range requires max > min."); };