diff --git a/changelog.md b/changelog.md index ef53f53b28..694a41e910 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,5 @@ HEAD +- Fixes a compile error on visual studio when using interrupts - Adds new 1012 and 1013 close codes per IANA registry - Add `set_remote_endpoint` method to iostream transport. - Add `set_secure` method to iostream transport. diff --git a/websocketpp/impl/endpoint_impl.hpp b/websocketpp/impl/endpoint_impl.hpp index 045a6bb9a8..2a7c82de5f 100644 --- a/websocketpp/impl/endpoint_impl.hpp +++ b/websocketpp/impl/endpoint_impl.hpp @@ -96,7 +96,7 @@ void endpoint::interrupt(connection_hdl hdl, connection_ptr con = get_con_from_hdl(hdl,ec); if (ec) {return;} - m_alog.write(log::alevel::devel,"Interrupting connection"+con.get()); + m_alog.write(log::alevel::devel,"Interrupting connection"); ec = con->interrupt(); }