This commit is contained in:
Barry Revzin 2022-01-30 01:35:18 -06:00
parent a02f7b84c7
commit c220b88c2d

View File

@ -1786,7 +1786,8 @@ template <typename OutputIt, typename Char> class basic_format_context {
}
template <typename T, typename U,
FMT_ENABLE_IF(std::is_same<T, std::remove_const_t<U>>::value)>
FMT_ENABLE_IF(
std::is_same<T, typename std::remove_const<U>::type>::value)>
FMT_CONSTEXPR auto put(formatter<T>& f, U& object) -> iterator {
advance_to(f.format(object, *this));
return out_;