Fix a link error in gcc8 (#1548)

This commit is contained in:
Victor Zverovich 2020-02-07 18:34:05 -08:00
parent c54cd71800
commit 24924128e3

View File

@ -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.