Commit 24924128 authored by Victor Zverovich's avatar Victor Zverovich

Fix a link error in gcc8 (#1548)

parent c54cd718
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment