Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a52b152

Browse files
committedDec 19, 2024·
[wip] diagnose: fix for boost 1.87
1 parent 94747c5 commit a52b152

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/wallet/diagnose.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ bool Diagnose::m_hasPoolProjects = false;
1515
bool Diagnose::m_configured_for_investor_mode = false;
1616
std::unordered_map<Diagnose::TestNames, Diagnose*> Diagnose::m_name_to_test_map;
1717
CCriticalSection Diagnose::cs_diagnostictests;
18-
boost::asio::io_service Diagnose::s_ioService;
18+
boost::asio::io_context Diagnose::s_ioService;
1919

2020
/**
2121
* The function check the time is correct on your PC. It checks the skew in the clock.

‎src/wallet/diagnose.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ class Diagnose
185185
static CCriticalSection cs_diagnostictests; //!< used to protect the critical sections, for multithreading
186186
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
187187
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.
188-
static boost::asio::io_service s_ioService;
188+
static boost::asio::io_context s_ioService;
189189
};
190190

191191
/**

0 commit comments

Comments
 (0)
Please sign in to comment.