public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] libstdc++: Add missing std::move to join_view::iterator ctor [PR101483]
@ 2021-07-23 16:34 Patrick Palka
  2021-07-23 16:36 ` Jonathan Wakely
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Palka @ 2021-07-23 16:34 UTC (permalink / raw)
  To: gcc-patches; +Cc: libstdc++, Patrick Palka

Tested on x86_64-pc-linux-gnu, does this look OK for trunk/branches?

	PR libstdc++/101483

libstdc++-v3/ChangeLog:

	* include/std/ranges (join_view::_Iterator::_Iterator): Add
	missing std::move.
---
 libstdc++-v3/include/std/ranges | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libstdc++-v3/include/std/ranges b/libstdc++-v3/include/std/ranges
index 50b414e8c8c..5bdcd445a9e 100644
--- a/libstdc++-v3/include/std/ranges
+++ b/libstdc++-v3/include/std/ranges
@@ -2588,7 +2588,7 @@ namespace views::__adaptor
 	    requires _Const
 	      && convertible_to<iterator_t<_Vp>, _Outer_iter>
 	      && convertible_to<iterator_t<_InnerRange>, _Inner_iter>
-	    : _M_outer(std::move(__i._M_outer)), _M_inner(__i._M_inner),
+	    : _M_outer(std::move(__i._M_outer)), _M_inner(std::move(__i._M_inner)),
 	      _M_parent(__i._M_parent)
 	  { }
 
-- 
2.32.0.349.gdaab8a564f


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] libstdc++: Add missing std::move to join_view::iterator ctor [PR101483]
  2021-07-23 16:34 [PATCH] libstdc++: Add missing std::move to join_view::iterator ctor [PR101483] Patrick Palka
@ 2021-07-23 16:36 ` Jonathan Wakely
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2021-07-23 16:36 UTC (permalink / raw)
  To: Patrick Palka; +Cc: gcc Patches, libstdc++

On Fri, 23 Jul 2021 at 17:36, Patrick Palka via Libstdc++
<libstdc++@gcc.gnu.org> wrote:
>
> Tested on x86_64-pc-linux-gnu, does this look OK for trunk/branches?

Yes, thanks.


>
>         PR libstdc++/101483
>
> libstdc++-v3/ChangeLog:
>
>         * include/std/ranges (join_view::_Iterator::_Iterator): Add
>         missing std::move.
> ---
>  libstdc++-v3/include/std/ranges | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libstdc++-v3/include/std/ranges b/libstdc++-v3/include/std/ranges
> index 50b414e8c8c..5bdcd445a9e 100644
> --- a/libstdc++-v3/include/std/ranges
> +++ b/libstdc++-v3/include/std/ranges
> @@ -2588,7 +2588,7 @@ namespace views::__adaptor
>             requires _Const
>               && convertible_to<iterator_t<_Vp>, _Outer_iter>
>               && convertible_to<iterator_t<_InnerRange>, _Inner_iter>
> -           : _M_outer(std::move(__i._M_outer)), _M_inner(__i._M_inner),
> +           : _M_outer(std::move(__i._M_outer)), _M_inner(std::move(__i._M_inner)),
>               _M_parent(__i._M_parent)
>           { }
>
> --
> 2.32.0.349.gdaab8a564f
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-23 16:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-23 16:34 [PATCH] libstdc++: Add missing std::move to join_view::iterator ctor [PR101483] Patrick Palka
2021-07-23 16:36 ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).