aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-08-11 16:16:21 +0100
committerJonathan Wakely <jwakely@redhat.com>2020-08-11 16:16:21 +0100
commit2a6918e4fa57edbe0dc326d5f142350b1dd4afd7 (patch)
tree407e7760df2c558a5791603dc194ecb345aa90ef /libstdc++-v3
parent61759518adc7679a6f46369543e30a761a16490a (diff)
downloadgcc-2a6918e4fa57edbe0dc326d5f142350b1dd4afd7.zip
gcc-2a6918e4fa57edbe0dc326d5f142350b1dd4afd7.tar.gz
gcc-2a6918e4fa57edbe0dc326d5f142350b1dd4afd7.tar.bz2
libstdc++: Make net::system_context tag type constructor explicit
libstdc++-v3/ChangeLog: * include/experimental/executor (system_context::a__tag): Make default constructor explicit.
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/include/experimental/executor2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/experimental/executor b/libstdc++-v3/include/experimental/executor
index b5dc303..1561050 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;