Skip to content

Commit

Permalink
Upgrade boost.
Browse files Browse the repository at this point in the history
  • Loading branch information
sproxet committed Nov 11, 2023
1 parent d4bfe6f commit 92a3d42
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions depends/packages/boost.mk
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package=boost
$(package)_version=1_77_0
$(package)_version=1_81_0
$(package)_download_path=https://boostorg.jfrog.io/artifactory/main/release/$(subst _,.,$($(package)_version))/source/
$(package)_file_name=boost_$($(package)_version).tar.bz2
$(package)_sha256_hash=fc9f85fc030e233142908241af7a846e60630aa7388de9a5fafb1f3a26840854
$(package)_sha256_hash=71feeed900fbccca04a3b4f2f84a7c217186f28a940ed8b7ed4725986baf99fa
$(package)_dependencies=native_b2

define $(package)_set_vars
Expand Down
7 changes: 5 additions & 2 deletions src/qt/bitcoin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
#endif

#include <stdint.h>
#include <ostream>
#include <fstream>

#include <boost/filesystem/operations.hpp>
#include <boost/thread.hpp>
Expand Down Expand Up @@ -629,7 +631,8 @@ void BitcoinApplication::migrateToFiro()
}
else if (doNotShowAgain) {
// create file to block migration in the future
boost::filesystem::ofstream(dontMigrateFilePath).flush();
std::ofstream dontMigrateFile(dontMigrateFilePath.string());
dontMigrateFile.flush();
}
}

Expand All @@ -639,7 +642,7 @@ int main(int argc, char *argv[])
#ifdef ENABLE_CRASH_HOOKS
RegisterPrettyTerminateHander();
RegisterPrettySignalHandlers();
#endif
#endif
SetupEnvironment();

/// 1. Parse command-line options. These take precedence over anything else.
Expand Down

0 comments on commit 92a3d42

Please sign in to comment.