Skip to content

Commit

Permalink
Merge pull request #485 from Meoo/patch-1
Browse files Browse the repository at this point in the history
Fix make_shared using the wrong strand type
  • Loading branch information
zaphoyd committed Nov 24, 2015
2 parents c5510d6 + 5b99fee commit 7f19b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion websocketpp/transport/asio/connection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ class connection : public config::socket_type::socket_con_type {
m_io_service = io_service;

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

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

0 comments on commit 7f19b6e

Please sign in to comment.