diff options
author | Vas Crabb <vas@vastheman.com> | 2017-07-09 03:21:32 +1000 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2017-07-09 03:21:32 +1000 |
commit | d18aa3e097a4e6c4abe43b175ab08c64c2a5bcbd (patch) | |
tree | a6d649ad9f223c21988e5f435c6eb8e941444961 /src/lib | |
parent | 962fa2ffac3300eb32d24e274bffb7104bd7e653 (diff) |
never hurts to srcclean (nw)
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/util/server_ws.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util/server_ws.hpp b/src/lib/util/server_ws.hpp index 41e8cda3287..ad9887c38dd 100644 --- a/src/lib/util/server_ws.hpp +++ b/src/lib/util/server_ws.hpp @@ -80,7 +80,7 @@ namespace webpp { std::string remote_endpoint_address; unsigned short remote_endpoint_port; - + std::shared_ptr<Connection> ptr() { return this->shared_from_this(); } @@ -432,7 +432,7 @@ namespace webpp { } } } - + void write_handshake(const std::shared_ptr<Connection> &connection, const std::shared_ptr<asio::streambuf> &read_buffer) { //Find path- and method-match, and generate response std::lock_guard<std::mutex> lock(m_endpoint_mutex); |