diff --git a/websocketpp/connection.hpp b/websocketpp/connection.hpp index 09c1627f61..5c40653cb6 100644 --- a/websocketpp/connection.hpp +++ b/websocketpp/connection.hpp @@ -207,7 +207,7 @@ public: * * @return A handle to the connection */ - connection_hdl get_handle() { + connection_hdl get_handle() const { return m_connection_hdl; }