File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2658,12 +2658,14 @@ inline auto runtime(string_view s) -> runtime_format_string<> { return {{s}}; }
26582658// / A compile-time format string.
26592659template <typename ... T> struct fstring {
26602660 private:
2661- static constexpr int num_static_named_args =
2661+ static constexpr size_t num_static_named_args =
26622662 detail::count_static_named_args<T...>();
26632663
2664- using checker = detail::format_string_checker<
2665- char , static_cast <int >(sizeof ...(T)), num_static_named_args,
2666- num_static_named_args != detail::count_named_args<T...>()>;
2664+ using checker =
2665+ detail::format_string_checker<char , static_cast <int >(sizeof ...(T)),
2666+ static_cast <int >(num_static_named_args),
2667+ num_static_named_args !=
2668+ detail::count_named_args<T...>()>;
26672669
26682670 using arg_pack = detail::arg_pack<T...>;
26692671
You can’t perform that action at this time.
0 commit comments