mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
Fix compile error for linux platform
This commit is contained in:
@@ -131,6 +131,6 @@ void WsCore::OnPong(websocketpp::connection_hdl, std::string msg) {}
|
||||
|
||||
void WsCore::OnPongTimeout(websocketpp::connection_hdl, std::string msg) {}
|
||||
|
||||
void WsCore::OnMessage(websocketpp::connection_hdl, client::message_ptr &msg) {
|
||||
void WsCore::OnMessage(websocketpp::connection_hdl, client::message_ptr msg) {
|
||||
OnReceiveMessage(msg->get_payload());
|
||||
}
|
||||
@@ -39,7 +39,7 @@ class WsCore {
|
||||
|
||||
void OnPongTimeout(websocketpp::connection_hdl, std::string msg);
|
||||
|
||||
void OnMessage(websocketpp::connection_hdl, client::message_ptr &msg);
|
||||
void OnMessage(websocketpp::connection_hdl, client::message_ptr msg);
|
||||
|
||||
virtual void OnReceiveMessage(const std::string &msg) = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user