diff --git a/include/nameof.hpp b/include/nameof.hpp index 2de9327..d1e061e 100644 --- a/include/nameof.hpp +++ b/include/nameof.hpp @@ -259,7 +259,7 @@ template using remove_cvref_t = std::remove_cv_t>; template -using enable_if_enum_t = std::enable_if_t, R>; +using enable_if_enum_t = std::enable_if_t>, R>; template inline constexpr bool is_enum_v = std::is_enum_v && std::is_same_v>;