libstdc++: Make net::system_context tag type constructor explicit
authorJonathan Wakely <jwakely@redhat.com>
Tue, 11 Aug 2020 15:16:21 +0000 (16:16 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 11 Aug 2020 15:16:21 +0000 (16:16 +0100)
libstdc++-v3/ChangeLog:

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

libstdc++-v3/include/experimental/executor

index b5dc303575697bd6b46d02961fa92480906ea4ce..1561050ae233e4c676ca7c03afd61ec6e1b05d4d 100644 (file)
@@ -884,7 +884,7 @@ inline namespace v1
   private:
     friend system_executor;
 
-    struct __tag { };
+    struct __tag { explicit __tag() = default; };
     system_context(__tag) { }
 
     thread                     _M_thread;