Backport from mainline:
2016-10-11 Jonathan Wakely <jwakely@redhat.com>
* include/experimental/string_view (basic_string_view::_S_compare):
Remove redundant const from return type.
* include/std/string_view (basic_string_view:_S_compare): Likewise.
From-SVN: r241268
+2016-10-17 Jonathan Wakely <jwakely@redhat.com>
+
+ Backport from mainline:
+ 2016-10-11 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/experimental/string_view (basic_string_view::_S_compare):
+ Remove redundant const from return type.
+
2016-10-17 Jonathan Wakely <jwakely@redhat.com>
Backport from mainline:
private:
- static constexpr const int
+ static constexpr int
_S_compare(size_type __n1, size_type __n2) noexcept
{
return difference_type{__n1 - __n2} > std::numeric_limits<int>::max()