From owner-freebsd-toolchain@freebsd.org Wed Mar 16 22:46:03 2016 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 60BB3AD202B for ; Wed, 16 Mar 2016 22:46:03 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 27FA2221 for ; Wed, 16 Mar 2016 22:46:02 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::ecf9:a174:3b2:d2d8] (unknown [IPv6:2001:7b8:3a7:0:ecf9:a174:3b2:d2d8]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 301622F350; Wed, 16 Mar 2016 23:46:01 +0100 (CET) Subject: Re: c++/libc++ help needed for chromium update Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: multipart/signed; boundary="Apple-Mail=_934D2CE4-3466-42A2-B9D9-13294C56B532"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 (ebbf3ef) From: Dimitry Andric In-Reply-To: <458AB9BF-4D4F-4F72-B2D7-79ACC8E19108@FreeBSD.org> Date: Wed, 16 Mar 2016 23:46:00 +0100 Cc: freebsd-toolchain@freebsd.org Message-Id: <8B77EACE-EE6D-412F-97AB-9226FDE02951@FreeBSD.org> References: <20160316212749.GA1426@squirrel.exwg.net> <458AB9BF-4D4F-4F72-B2D7-79ACC8E19108@FreeBSD.org> To: Christoph Moench-Tegeder X-Mailer: Apple Mail (2.3112) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2016 22:46:03 -0000 --Apple-Mail=_934D2CE4-3466-42A2-B9D9-13294C56B532 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 16 Mar 2016, at 23:36, Dimitry Andric wrote: >=20 > On 16 Mar 2016, at 22:27, Christoph Moench-Tegeder = wrote: ... >> Could anyone point me in a direction to resolve this? ... > Last but not least, please ask about this on the Chromium mailing = lists. > There must be lots of C++ libraries out there with non-trivial = std::pair > copy constructors, and they must have some sort of workaround for = those. Yet another thing you could try is changing DataBatchImpl::Put() as = follows: --- a/data_batch_impl.cc 2016-03-16 23:43:50.000000000 +0100 +++ b/data_batch_impl.cc 2016-03-16 23:44:01.000000000 +0100 @@ -12,7 +12,7 @@ DataBatchImpl::~DataBatchImpl() {} void DataBatchImpl::Put(const std::string& client_key, scoped_ptr specifics) { - key_data_pairs_.push_back(KeyAndData(client_key, = std::move(specifics))); + key_data_pairs_.push_back(std::move(KeyAndData(client_key, = std::move(specifics)))); } bool DataBatchImpl::HasNext() const { I'm not 100% sure this will work, but it might... :) -Dimitry --Apple-Mail=_934D2CE4-3466-42A2-B9D9-13294C56B532 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.29 iEYEARECAAYFAlbp4igACgkQsF6jCi4glqOBtACfdDlFmOQExvwKbNcMwj8Wom4r 1GYAn3XpCfGEbdYzUSWu5j6p3A7Mk5Qn =oCzf -----END PGP SIGNATURE----- --Apple-Mail=_934D2CE4-3466-42A2-B9D9-13294C56B532--