* include/std/ranges (iota_view): Add braces to prevent -Wempty-body
warning.
(basic_istream_view::_Iterator::operator++()): Add missing return.
+2020-02-07 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/ranges (iota_view): Add braces to prevent -Wempty-body
+ warning.
+ (basic_istream_view::_Iterator::operator++()): Add missing return.
+
2020-02-07 Patrick Palka <ppalka@redhat.com>
* include/bits/ranges_algo.h: Remove extraneous &&.
: _M_value(__value), _M_bound(__bound)
{
if constexpr (totally_ordered_with<_Winc, _Bound>)
- __glibcxx_assert( bool(__value <= __bound) );
+ {
+ __glibcxx_assert( bool(__value <= __bound) );
+ }
}
constexpr _Iterator
{
__glibcxx_assert(_M_parent->_M_stream != nullptr);
*_M_parent->_M_stream >> _M_parent->_M_object;
+ return *this;
}
void