support boost 1.87

This commit is contained in:
orignal 2024-11-25 16:00:06 -05:00
parent 3474538697
commit ffd18baf30
28 changed files with 164 additions and 172 deletions

View file

@ -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);