libstdc++: Remove extraneous &&
authorPatrick Palka <ppalka@redhat.com>
Fri, 7 Feb 2020 15:08:06 +0000 (10:08 -0500)
committerPatrick Palka <ppalka@redhat.com>
Fri, 7 Feb 2020 15:09:30 +0000 (10:09 -0500)
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/ranges_algo.h

index 4e010016a0357553d5e19206b1dc37aee85fdb72..946897dda99a8c86ac6ffbf57fb1b7c0d2db205c 100644 (file)
@@ -1,5 +1,7 @@
 2020-02-07  Patrick Palka  <ppalka@redhat.com>
 
+       * include/bits/ranges_algo.h: Remove extraneous &&.
+
        * include/std/ranges (ranges::__detail::__stream_extractable,
        ranges::basic_istream_view, ranges::istream_view): Define.
        * testsuite/std/ranges/istream_view: New test.
index a9b87283f87853a526c5caf5cee439a365df3e44..927c83c55b7ad5b5a3e1e55712ec4cbb1614a51b 100644 (file)
@@ -1250,7 +1250,7 @@ namespace ranges
       [[no_unique_address]] _Out  out;
 
       template<typename _IIter1, typename _IIter2, typename _OOut>
-       requires convertible_to<const _Iter1&, _IIter1> &&
+       requires convertible_to<const _Iter1&, _IIter1>
          && convertible_to<const _Iter2&, _IIter2>
          && convertible_to<const _Out&, _OOut>
        operator binary_transform_result<_IIter1, _IIter2, _OOut>() const &