projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6175951
)
libstdc++: Make net::system_context tag type constructor explicit
author
Jonathan Wakely
<jwakely@redhat.com>
Tue, 11 Aug 2020 15:16:21 +0000
(16:16 +0100)
committer
Jonathan 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
patch
|
blob
|
history
diff --git
a/libstdc++-v3/include/experimental/executor
b/libstdc++-v3/include/experimental/executor
index b5dc303575697bd6b46d02961fa92480906ea4ce..1561050ae233e4c676ca7c03afd61ec6e1b05d4d 100644
(file)
--- 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;