Skip to content

Commit

Permalink
Update fmt to 10.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackarain committed Jun 17, 2023
1 parent 76c01af commit 03f643f
Show file tree
Hide file tree
Showing 17 changed files with 5,987 additions and 5,149 deletions.
8 changes: 4 additions & 4 deletions third_party/fmt/include/fmt/args.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ class dynamic_format_arg_store
};

template <typename T>
using stored_type = conditional_t<detail::is_string<T>::value &&
!has_formatter<T, Context>::value &&
!detail::is_reference_wrapper<T>::value,
std::basic_string<char_type>, T>;
using stored_type = conditional_t<
std::is_convertible<T, std::basic_string<char_type>>::value &&
!detail::is_reference_wrapper<T>::value,
std::basic_string<char_type>, T>;

// Storage of basic_format_arg must be contiguous.
std::vector<basic_format_arg<Context>> data_;
Expand Down
Loading

0 comments on commit 03f643f

Please sign in to comment.