mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-13 11:17:06 +07:00
fix msvc 2019 issues
This commit is contained in:
@@ -1909,7 +1909,7 @@ namespace meta_hpp::detail
|
||||
flags.set(class_flags::is_polymorphic);
|
||||
}
|
||||
|
||||
if constexpr ( type_list_arity_v<argument_types> ) {
|
||||
if constexpr ( type_list_arity_v<argument_types> > 0 ) {
|
||||
flags.set(class_flags::is_template_instantiation);
|
||||
}
|
||||
|
||||
|
||||
@@ -296,7 +296,7 @@ namespace meta_hpp::detail
|
||||
flags.set(class_flags::is_polymorphic);
|
||||
}
|
||||
|
||||
if constexpr ( type_list_arity_v<argument_types> ) {
|
||||
if constexpr ( type_list_arity_v<argument_types> > 0 ) {
|
||||
flags.set(class_flags::is_template_instantiation);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user