Boost.ASIO: upgrade io_service=>io_context, finally
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef SMO_DIRECTOR_THREAD_H
|
||||
#define SMO_DIRECTOR_THREAD_H
|
||||
|
||||
#include <boost/asio/io_service.hpp>
|
||||
#include <boost/asio/io_context.hpp>
|
||||
#include <spinscale/co/invokers.h>
|
||||
#include <spinscale/co/postingPromise.h>
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace director {
|
||||
|
||||
struct DirectorThreadTag
|
||||
{
|
||||
static boost::asio::io_service &io_service();
|
||||
static boost::asio::io_context &io_context();
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
|
||||
Reference in New Issue
Block a user