Skip to content

Commit

Permalink
Merge pull request XRPLF#413 from rec/public-accessor
Browse files Browse the repository at this point in the history
Make transport::asio::connection::get_strand() public.
  • Loading branch information
zaphoyd committed Apr 14, 2015
2 parents 6300e09 + dc313ef commit 6dde40d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion websocketpp/transport/asio/connection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ class connection : public config::socket_type::socket_con_type {
callback(lib::error_code());
}
}
protected:

/// Get a pointer to this connection's strand
strand_ptr get_strand() {
return m_strand;
Expand All @@ -384,6 +384,7 @@ class connection : public config::socket_type::socket_con_type {
* read or write the WebSocket handshakes. At this point the original
* callback function is called.
*/
protected:
void init(init_handler callback) {
if (m_alog.static_test(log::alevel::devel)) {
m_alog.write(log::alevel::devel,"asio connection init");
Expand Down

0 comments on commit 6dde40d

Please sign in to comment.