diff options
author | Ben Woosley <ben.woosley@gmail.com> | 2018-12-30 14:19:14 -0800 |
---|---|---|
committer | Ben Woosley <ben.woosley@gmail.com> | 2019-01-31 22:10:54 -0800 |
commit | 1971f5ba04de9ac1e1a95d9f727e7bd4bc35dc88 (patch) | |
tree | fce7e30b23a09f607cc82fad02000dbd7e4f2b89 /src/wallet | |
parent | cb35f1d305d88934df64c2e7fb80700b673360e6 (diff) | |
download | bitcoin-1971f5ba04de9ac1e1a95d9f727e7bd4bc35dc88.tar.xz |
Piecewise construct to avoid invalid construction
In CMainSignals::RegisterWithMempoolSignals running under Ubuntu 14.04
(QT 5.2), absent piecewise construction this fails to create the pair
because the argument is a connection, which is converted into a
non-copyable scoped_connection.
validationinterface.cpp:80:186: required from here
/usr/include/boost/signals2/connection.hpp:234:7: error: ‘boost::signals2::scoped_connection::scoped_connection(const boost::signals2::scoped_connection&)’ is private
scoped_connection(const scoped_connection &other);
^
In file included from /usr/include/c++/4.8/utility:70:0,
from /usr/include/c++/4.8/algorithm:60,
from ./prevector.h:13,
from ./script/script.h:10,
from ./primitives/transaction.h:11,
from ./validationinterface.h:9,
from validationinterface.cpp:6:
/usr/include/c++/4.8/bits/stl_pair.h:134:45: error: within this context
: first(std::forward<_U1>(__x)), second(__y) { }
https://travis-ci.org/bitcoin/bitcoin/jobs/473689141#L2172
Diffstat (limited to 'src/wallet')
0 files changed, 0 insertions, 0 deletions