mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 10:47:35 +02:00
Fix a link error in gcc8 (#1548)
This commit is contained in:
@ -312,7 +312,7 @@ template <typename It> class is_output_iterator {
|
|||||||
using type = decltype(test<It>(typename iterator_category<It>::type{}));
|
using type = decltype(test<It>(typename iterator_category<It>::type{}));
|
||||||
|
|
||||||
public:
|
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.
|
// A workaround for std::string not having mutable data() until C++17.
|
||||||
|
Reference in New Issue
Block a user