On 16 Mar 2016, at 23:36, Dimitry Andric <d...@freebsd.org> wrote: > > On 16 Mar 2016, at 22:27, Christoph Moench-Tegeder <c...@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
signature.asc
Description: Message signed with OpenPGP using GPGMail