From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1059) id DBEC5393C847; Thu, 27 Aug 2020 18:06:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DBEC5393C847 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1598551588; bh=QHHfLmmQ1MtCpfAfd+QChKoS5VsW4esQbDwGNOpffos=; h=From:To:Subject:Date:From; b=dj6TevPDY3M28Sle0VFOEd/GRubG3r/ErEyn6qM3pdH8UkQhFMmKG3xYvD89HdBy2 cpn8r2aczAlbIjAz4x37u4QolZQgZHM09+LQ4fu9xKQ5qump5NPjpjgoBuRCVSBlf7 7mkEbGZzJ7QMuNJI4IrQyk5w2fBy/9RBrXcl0h/o= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Nathan Sidwell To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc/devel/c++-modules] libstdc++: Make net::system_context tag type constructor explicit X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/devel/c++-modules X-Git-Oldrev: 61759518adc7679a6f46369543e30a761a16490a X-Git-Newrev: 2a6918e4fa57edbe0dc326d5f142350b1dd4afd7 Message-Id: <20200827180628.DBEC5393C847@sourceware.org> Date: Thu, 27 Aug 2020 18:06:28 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2020 18:06:29 -0000 https://gcc.gnu.org/g:2a6918e4fa57edbe0dc326d5f142350b1dd4afd7 commit 2a6918e4fa57edbe0dc326d5f142350b1dd4afd7 Author: Jonathan Wakely Date: Tue Aug 11 16:16:21 2020 +0100 libstdc++: Make net::system_context tag type constructor explicit libstdc++-v3/ChangeLog: * include/experimental/executor (system_context::a__tag): Make default constructor explicit. Diff: --- libstdc++-v3/include/experimental/executor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;