Upgrade depends Boost to 1.91
This commit is contained in:
@@ -57,6 +57,10 @@
|
||||
#include <QUrlQuery>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
using boost::placeholders::_1;
|
||||
using boost::placeholders::_2;
|
||||
using boost::placeholders::_3;
|
||||
|
||||
const QString BitcoinGUI::DEFAULT_WALLET = "~Default";
|
||||
|
||||
BitcoinGUI::BitcoinGUI(const NetworkStyle* networkStyle, QWidget* parent) : QMainWindow(parent),
|
||||
|
||||
@@ -28,6 +28,9 @@
|
||||
#include <QDebug>
|
||||
#include <QTimer>
|
||||
|
||||
using boost::placeholders::_1;
|
||||
using boost::placeholders::_2;
|
||||
|
||||
static const int64_t nClientStartupTime = GetTime();
|
||||
|
||||
ClientModel::ClientModel(OptionsModel* optionsModel, QObject* parent) : QObject(parent),
|
||||
|
||||
@@ -24,6 +24,9 @@
|
||||
#include <QPainter>
|
||||
#include <QScreen>
|
||||
|
||||
using boost::placeholders::_1;
|
||||
using boost::placeholders::_2;
|
||||
|
||||
SplashScreen::SplashScreen(Qt::WindowFlags f, const NetworkStyle* networkStyle) : QWidget(0, f), curAlignment(0)
|
||||
{
|
||||
// set reference point, paddings
|
||||
|
||||
@@ -28,6 +28,10 @@
|
||||
#include <QIcon>
|
||||
#include <QList>
|
||||
|
||||
using boost::placeholders::_1;
|
||||
using boost::placeholders::_2;
|
||||
using boost::placeholders::_3;
|
||||
|
||||
// Amount column is right-aligned it contains numbers
|
||||
static int column_alignments[] = {
|
||||
Qt::AlignLeft | Qt::AlignVCenter, /* status */
|
||||
|
||||
@@ -27,6 +27,12 @@
|
||||
#include <QTimer>
|
||||
|
||||
using namespace std;
|
||||
using boost::placeholders::_1;
|
||||
using boost::placeholders::_2;
|
||||
using boost::placeholders::_3;
|
||||
using boost::placeholders::_4;
|
||||
using boost::placeholders::_5;
|
||||
using boost::placeholders::_6;
|
||||
|
||||
WalletModel::WalletModel(CWallet* wallet, OptionsModel* optionsModel, QObject* parent) : QObject(parent), wallet(wallet), optionsModel(optionsModel), addressTableModel(0),
|
||||
transactionTableModel(0),
|
||||
|
||||
@@ -1076,7 +1076,9 @@ bool AttemptBackupWallet(const CWallet& wallet, const filesystem::path& pathSrc,
|
||||
LogPrintf("cannot backup to wallet source file %s\n", pathDest.string());
|
||||
return false;
|
||||
}
|
||||
#if BOOST_VERSION >= 105800 /* BOOST_LIB_VERSION 1_58 */
|
||||
#if BOOST_VERSION >= 107400 /* BOOST_LIB_VERSION 1_74 */
|
||||
filesystem::copy_file(pathSrc.c_str(), pathDest, filesystem::copy_options::overwrite_existing);
|
||||
#elif BOOST_VERSION >= 105800 /* BOOST_LIB_VERSION 1_58 */
|
||||
filesystem::copy_file(pathSrc.c_str(), pathDest, filesystem::copy_option::overwrite_if_exists);
|
||||
#else
|
||||
std::ifstream src(pathSrc.c_str(), std::ios::binary | std::ios::in);
|
||||
|
||||
Reference in New Issue
Block a user