diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2017-03-20 12:27:07 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2017-03-20 12:27:07 -0400 |
commit | d5046e72f4180b7932368919ae08da24be8e9583 (patch) | |
tree | 3f1140ce24eac604f6b02715eb0bfe8356f11d2e /src/qt/clientmodel.h | |
parent | d34995a7bac6ed20ce42aa00c6252b900786e649 (diff) | |
download | bitcoin-d5046e72f4180b7932368919ae08da24be8e9583.tar.xz |
Avoid scoped_connection compile error with boost 1.55.0
Construct scoped_connection directly instead of relying on copy initialization
and move constructor. Avoids the following compile error in debian jessie:
```
In file included from /usr/include/boost/signals2/signal.hpp:21:0,
from ./util.h:29,
from ./dbwrapper.h:11,
from ./txdb.h:10,
from ./test/test_bitcoin.h:11,
from qt/test/wallettests.cpp:11:
/usr/include/boost/signals2/connection.hpp: In function ‘uint256 {anonymous}::SendCoins(CWallet&, SendCoinsDialog&, const CBitcoinAddress&, CAmount)’:
/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);
^
qt/test/wallettests.cpp:47:6: error: within this context
});
^
```
Error reported by Pavel Janík <Pavel@Janik.cz> in
https://github.com/bitcoin/bitcoin/pull/9974#issuecomment-287550034
Diffstat (limited to 'src/qt/clientmodel.h')
0 files changed, 0 insertions, 0 deletions