Merge branch 'master' into master
This commit is contained in:
commit
9dfea170d3
2 changed files with 7 additions and 0 deletions
|
|
@ -53,7 +53,13 @@ std::shared_ptr<Runtime> Runtime::create(std::uint32_t pool_size) {
|
|||
|
||||
Runtime::Runtime(std::uint32_t pool_size)
|
||||
: pool_size_{pool_size},
|
||||
|
||||
#if BOOST_VERSION >= 106600
|
||||
service_{static_cast<int>(pool_size_)},
|
||||
#else
|
||||
service_{pool_size_},
|
||||
#endif
|
||||
|
||||
strand_{service_},
|
||||
keep_alive_{service_} {}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
#define ANBOX_RUNTIME_H_
|
||||
|
||||
#include <boost/asio.hpp>
|
||||
#include <boost/version.hpp>
|
||||
|
||||
#include <memory.h>
|
||||
#include <functional>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue