diff --git a/src/curecoinrpc.h b/src/curecoinrpc.h index 06208fe..c5e835c 100644 --- a/src/curecoinrpc.h +++ b/src/curecoinrpc.h @@ -4,11 +4,13 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef _curecoinRPC_H_ -#define _curecoinRPC_H_ 1 +#define _curecoinRPC_H_ #if BOOST_VERSION >= 106600 +#ifndef BOOST_ASIO_ENABLE_OLD_SERVICES #define BOOST_ASIO_ENABLE_OLD_SERVICES #endif +#endif #include #include diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index ecf08fc..04ab2f7 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -9,8 +9,6 @@ #include "walletdb.h" // for BackupWallet #include "base58.h" -#include - #include #include @@ -337,21 +335,21 @@ static void NotifyTransactionChanged(WalletModel *walletmodel, CWallet *wallet, void WalletModel::subscribeToCoreSignals() { // Connect signals to wallet - wallet->NotifyStatusChanged.connect(boost::bind(&NotifyKeyStoreStatusChanged, this, std::placeholders::_1)); - wallet->NotifyAddressBookChanged.connect(boost::bind(NotifyAddressBookChanged, this, std::placeholders::_1, std::placeholders::_2, - std::placeholders::_3, std::placeholders::_4, std::placeholders::_5)); - wallet->NotifyTransactionChanged.connect(boost::bind(NotifyTransactionChanged, this, std::placeholders::_1, std::placeholders::_2, - std::placeholders::_3)); + wallet->NotifyStatusChanged.connect(boost::bind(&NotifyKeyStoreStatusChanged, this, boost::placeholders::_1)); + wallet->NotifyAddressBookChanged.connect(boost::bind(NotifyAddressBookChanged, this, boost::placeholders::_1, boost::placeholders::_2, + boost::placeholders::_3, boost::placeholders::_4, boost::placeholders::_5)); + wallet->NotifyTransactionChanged.connect(boost::bind(NotifyTransactionChanged, this, boost::placeholders::_1, boost::placeholders::_2, + boost::placeholders::_3)); } void WalletModel::unsubscribeFromCoreSignals() { // Disconnect signals from wallet - wallet->NotifyStatusChanged.disconnect(boost::bind(&NotifyKeyStoreStatusChanged, this, std::placeholders::_1)); - wallet->NotifyAddressBookChanged.disconnect(boost::bind(NotifyAddressBookChanged, this, std::placeholders::_1, boost::placeholders::_2, - std::placeholders::_3, std::placeholders::_4, std::placeholders::_5)); - wallet->NotifyTransactionChanged.disconnect(boost::bind(NotifyTransactionChanged, this, std::placeholders::_1, std::placeholders::_2, - std::placeholders::_3)); + wallet->NotifyStatusChanged.disconnect(boost::bind(&NotifyKeyStoreStatusChanged, this, boost::placeholders::_1)); + wallet->NotifyAddressBookChanged.disconnect(boost::bind(NotifyAddressBookChanged, this, boost::placeholders::_1, boost::placeholders::_2, + boost::placeholders::_3, boost::placeholders::_4, boost::placeholders::_5)); + wallet->NotifyTransactionChanged.disconnect(boost::bind(NotifyTransactionChanged, this, boost::placeholders::_1, boost::placeholders::_2, + boost::placeholders::_3)); } // WalletModel::UnlockContext implementation