public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] libstdc++: Make net::system_context tag type constructor explicit
@ 2020-08-11 15:38 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2020-08-11 15:38 UTC (permalink / raw)
  To: libstdc++, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 168 bytes --]

libstdc++-v3/ChangeLog:

	* include/experimental/executor (system_context::a__tag): Make
	default constructor explicit.

Tested powerpc64le-linux. Committed to trunk.


[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 805 bytes --]

commit 2a6918e4fa57edbe0dc326d5f142350b1dd4afd7
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue Aug 11 16:16:21 2020

    libstdc++: Make net::system_context tag type constructor explicit
    
    libstdc++-v3/ChangeLog:
    
            * include/experimental/executor (system_context::a__tag): Make
            default constructor explicit.

diff --git a/libstdc++-v3/include/experimental/executor b/libstdc++-v3/include/experimental/executor
index b5dc3035756..1561050ae23 100644
--- a/libstdc++-v3/include/experimental/executor
+++ b/libstdc++-v3/include/experimental/executor
@@ -884,7 +884,7 @@ inline namespace v1
   private:
     friend system_executor;
 
-    struct __tag { };
+    struct __tag { explicit __tag() = default; };
     system_context(__tag) { }
 
     thread			_M_thread;

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

only message in thread, other threads:[~2020-08-11 15:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-11 15:38 [committed] libstdc++: Make net::system_context tag type constructor explicit 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).