Skip to content

Commit

Permalink
Fix a link error in gcc8 (#1548)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Feb 8, 2020
1 parent c54cd71 commit 2492412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ template <typename It> class is_output_iterator {
using type = decltype(test<It>(typename iterator_category<It>::type{}));

public:
static const bool value = !std::is_const<remove_reference_t<type>>::value;
enum { value = !std::is_const<remove_reference_t<type>>::value };
};

// A workaround for std::string not having mutable data() until C++17.
Expand Down

0 comments on commit 2492412

Please sign in to comment.