From 52bce4451e9e0c3965b7fa55b58edb15a291154a Mon Sep 17 00:00:00 2001 From: Neargye Date: Sun, 2 Sep 2018 00:19:33 +0500 Subject: [PATCH] fix build --- include/nameof.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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