Skip to content

Commit fa159b0

Browse files
authored
Merge pull request #1 from idscan/boost-165-problem
fixed strand
2 parents d91fd19 + 68e8d84 commit fa159b0

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)