Skip to content

Commit dc313ef

Browse files
committed
Make transport::asio::connection::get_strand() public.
1 parent 6300e09 commit dc313ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

websocketpp/transport/asio/connection.hpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ class connection : public config::socket_type::socket_con_type {
361361
callback(lib::error_code());
362362
}
363363
}
364-
protected:
364+
365365
/// Get a pointer to this connection's strand
366366
strand_ptr get_strand() {
367367
return m_strand;
@@ -384,6 +384,7 @@ class connection : public config::socket_type::socket_con_type {
384384
* read or write the WebSocket handshakes. At this point the original
385385
* callback function is called.
386386
*/
387+
protected:
387388
void init(init_handler callback) {
388389
if (m_alog.static_test(log::alevel::devel)) {
389390
m_alog.write(log::alevel::devel,"asio connection init");

0 commit comments

Comments
 (0)