mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 20:27:49 +02:00
support boost 1.87
This commit is contained in:
parent
3474538697
commit
ffd18baf30
28 changed files with 164 additions and 172 deletions
|
@ -202,11 +202,11 @@ namespace util
|
|||
protected:
|
||||
|
||||
RunnableServiceWithWork (const std::string& name):
|
||||
RunnableService (name), m_Work (GetIOService ()) {}
|
||||
RunnableService (name), m_Work (GetIOService ().get_executor ()) {}
|
||||
|
||||
private:
|
||||
|
||||
boost::asio::io_context::work m_Work;
|
||||
boost::asio::executor_work_guard<boost::asio::io_context::executor_type> m_Work;
|
||||
};
|
||||
|
||||
void SetThreadName (const char *name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue