public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-9956] c++/modules: make bits_in/out move-constructible
@ 2024-04-13 20:12 Patrick Palka
  0 siblings, 0 replies; only message in thread
From: Patrick Palka @ 2024-04-13 20:12 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:da375baf54944298303f13c375a5756c6131d672

commit r14-9956-gda375baf54944298303f13c375a5756c6131d672
Author: Patrick Palka <ppalka@redhat.com>
Date:   Sat Apr 13 16:06:28 2024 -0400

    c++/modules: make bits_in/out move-constructible
    
    gcc/cp/ChangeLog:
    
            * module.cc (struct bytes_in::bits_in): Define defaulted
            move ctor.
            (struct bytes_out::bits_out): Likewise.

Diff:
---
 gcc/cp/module.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/cp/module.cc b/gcc/cp/module.cc
index bbed82652d4..c6f71e11515 100644
--- a/gcc/cp/module.cc
+++ b/gcc/cp/module.cc
@@ -706,6 +706,7 @@ struct bytes_in::bits_in {
     bflush ();
   }
 
+  bits_in(bits_in&&) = default;
   bits_in(const bits_in&) = delete;
   bits_in& operator=(const bits_in&) = delete;
 
@@ -752,6 +753,7 @@ struct bytes_out::bits_out {
     bflush ();
   }
 
+  bits_out(bits_out&&) = default;
   bits_out(const bits_out&) = delete;
   bits_out& operator=(const bits_out&) = delete;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-13 20:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-13 20:12 [gcc r14-9956] c++/modules: make bits_in/out move-constructible Patrick Palka

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).