c++/libc++ help needed for chromium update
Dimitry Andric
dim at FreeBSD.org
Wed Mar 16 22:46:03 UTC 2016
On 16 Mar 2016, at 23:36, Dimitry Andric <dim at FreeBSD.org> wrote:
>
> On 16 Mar 2016, at 22:27, Christoph Moench-Tegeder <cmt at burggraben.net> 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<EntityData> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-toolchain/attachments/20160316/d9e18190/attachment.sig>
More information about the freebsd-toolchain
mailing list