diff --git a/develop/singles/headers/meta.hpp/meta_all.hpp b/develop/singles/headers/meta.hpp/meta_all.hpp index 5afb106..08e3c1e 100644 --- a/develop/singles/headers/meta.hpp/meta_all.hpp +++ b/develop/singles/headers/meta.hpp/meta_all.hpp @@ -1909,7 +1909,7 @@ namespace meta_hpp::detail flags.set(class_flags::is_polymorphic); } - if constexpr ( type_list_arity_v ) { + if constexpr ( type_list_arity_v > 0 ) { flags.set(class_flags::is_template_instantiation); } diff --git a/headers/meta.hpp/meta_detail/type_traits/class_traits.hpp b/headers/meta.hpp/meta_detail/type_traits/class_traits.hpp index 428c26d..ff4e6b7 100644 --- a/headers/meta.hpp/meta_detail/type_traits/class_traits.hpp +++ b/headers/meta.hpp/meta_detail/type_traits/class_traits.hpp @@ -296,7 +296,7 @@ namespace meta_hpp::detail flags.set(class_flags::is_polymorphic); } - if constexpr ( type_list_arity_v ) { + if constexpr ( type_list_arity_v > 0 ) { flags.set(class_flags::is_template_instantiation); }