0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-05 10:17:30 -05:00
bitcoin-bitcoin-core/src/qt/test
Russell Yanofsky d5046e72f4 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
2017-03-20 12:27:07 -04:00
..
compattests.cpp Uses built-in byte swap if available (Apple) and if bswap_XX is undefined. 2016-12-17 12:27:00 +09:00
compattests.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
Makefile build: add stub makefiles for easier subdir builds 2014-06-05 16:05:43 -04:00
paymentrequestdata.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
paymentservertests.cpp Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
paymentservertests.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
rpcnestedtests.cpp Make qt test compatible with TestChain100Setup framework 2017-03-10 15:52:29 -05:00
rpcnestedtests.h [Qt] RPC-Console: support nested commands and simple value queries 2016-08-23 15:32:39 +02:00
test_main.cpp Add new test_bitcoin-qt static library dependencies 2017-03-15 13:02:02 -04:00
uritests.cpp Added "Core" to copyright headers 2014-12-19 19:55:32 +01:00
uritests.h Bump copyright headers to 2015 2015-12-13 18:08:39 +01:00
wallettests.cpp Avoid scoped_connection compile error with boost 1.55.0 2017-03-20 12:27:07 -04:00
wallettests.h Add simple qt wallet test sending a transaction 2017-03-15 12:02:02 -05:00