Skip to content

Commit

Permalink
[wip] diagnose: fix for boost 1.87
Browse files Browse the repository at this point in the history
  • Loading branch information
div72 committed Dec 19, 2024
1 parent 94747c5 commit a52b152
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/wallet/diagnose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ bool Diagnose::m_hasPoolProjects = false;
bool Diagnose::m_configured_for_investor_mode = false;
std::unordered_map<Diagnose::TestNames, Diagnose*> Diagnose::m_name_to_test_map;
CCriticalSection Diagnose::cs_diagnostictests;
boost::asio::io_service Diagnose::s_ioService;
boost::asio::io_context Diagnose::s_ioService;

/**
* The function check the time is correct on your PC. It checks the skew in the clock.
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/diagnose.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ class Diagnose
static CCriticalSection cs_diagnostictests; //!< used to protect the critical sections, for multithreading
TestNames m_test_name; //!< This must be defined for derived classes. Each derived class must declare the name of the test and add to the TestNames enum
static std::unordered_map<Diagnose::TestNames, Diagnose*> m_name_to_test_map; //!< a map to save the test and a pointer to it. Some tests are related and need to access the results of each other.
static boost::asio::io_service s_ioService;
static boost::asio::io_context s_ioService;
};

/**
Expand Down

0 comments on commit a52b152

Please sign in to comment.