Skip to content

Commit 0f237e2

Browse files
authored
Merge pull request #638 from jhruby/master
fixed strand type to be able to build it with Boost 1.66
2 parents 6ebb942 + 6b2e048 commit 0f237e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/libs/websocketpp/websocketpp/transport/asio/connection.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ class connection : public config::socket_type::socket_con_type {
422422
m_io_service = io_service;
423423

424424
if (config::enable_multithreading) {
425-
m_strand = lib::make_shared<boost::asio::strand>(
425+
m_strand = lib::make_shared<boost::asio::io_service::strand>(
426426
lib::ref(*io_service));
427427

428428
m_async_read_handler = m_strand->wrap(lib::bind(

0 commit comments

Comments
 (0)