mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Fix a link error in gcc8 (#1548)
This commit is contained in:
parent
c54cd71800
commit
24924128e3
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user