Skip to content

Commit

Permalink
Merge pull request microsoft#638 from jhruby/master
Browse files Browse the repository at this point in the history
fixed strand type to be able to build it with Boost 1.66
  • Loading branch information
ras0219-msft authored Jan 9, 2018
2 parents 6ebb942 + 6b2e048 commit 0f237e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ class connection : public config::socket_type::socket_con_type {
m_io_service = io_service;

if (config::enable_multithreading) {
m_strand = lib::make_shared<boost::asio::strand>(
m_strand = lib::make_shared<boost::asio::io_service::strand>(
lib::ref(*io_service));

m_async_read_handler = m_strand->wrap(lib::bind(
Expand Down

0 comments on commit 0f237e2

Please sign in to comment.