diff --git a/include/rexy/detail/format/named_args.tpp b/include/rexy/detail/format/named_args.tpp index 8cc38a6..5680bbd 100644 --- a/include/rexy/detail/format/named_args.tpp +++ b/include/rexy/detail/format/named_args.tpp @@ -37,7 +37,7 @@ namespace rexy::fmt::detail{ } } } - if constexpr(sizeof...(Args)){ + if constexpr(sizeof...(Args) > 0){ return find_static_named_arg_id_impl(first, last); }else{ return invalid_arg_index;