diff --git a/include/nameof.hpp b/include/nameof.hpp index 88dd663..facbc9b 100644 --- a/include/nameof.hpp +++ b/include/nameof.hpp @@ -456,12 +456,12 @@ template ::type>::value + std::is_unsigned::type>::value ? detail::NameofEnumImpl{}(static_cast(value)) : detail::NameofEnumImpl{}(static_cast(value)), false); #elif defined(__GNUC__) - return std::is_unsigned::type>::value + return std::is_unsigned::type>::value ? detail::NameofEnumImpl{}(static_cast(value)) : detail::NameofEnumImpl{}(static_cast(value)); #else