Skip to content

Commit

Permalink
Fix compile error in printf with gcc9 (#1354)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Oct 10, 2019
1 parent e4d6d9d commit 2730e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/printf.h
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class printf_arg_formatter : public internal::arg_formatter_base<Range> {
printf_arg_formatter(iterator iter, format_specs& specs, context_type& ctx)
: base(Range(iter), &specs, internal::locale_ref()), context_(ctx) {}

template <typename T, FMT_ENABLE_IF(std::is_integral<T>::value)>
template <typename T, FMT_ENABLE_IF(fmt::internal::is_integral<T>::value)>
iterator operator()(T value) {
// MSVC2013 fails to compile separate overloads for bool and char_type so
// use std::is_same instead.
Expand Down

0 comments on commit 2730e90

Please sign in to comment.