Upgrade depends Boost to 1.91

This commit is contained in:
root
2026-04-29 20:37:24 +00:00
parent 20d8028ead
commit c655e4d576
9 changed files with 33 additions and 195 deletions
+4
View File
@@ -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),
+3
View File
@@ -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),
+3
View File
@@ -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
+4
View File
@@ -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 */
+6
View File
@@ -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),
+3 -1
View File
@@ -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);