From 035ad01cc08096ebe3e8adffce2ecbc2bdfbcfa3 Mon Sep 17 00:00:00 2001 From: melode11 Date: Thu, 30 Apr 2015 00:26:54 +0800 Subject: [PATCH] fix link error of sio::event accessors --- src/sio_socket.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/sio_socket.cpp b/src/sio_socket.cpp index c9c0f400..63a460d0 100644 --- a/src/sio_socket.cpp +++ b/src/sio_socket.cpp @@ -36,19 +36,16 @@ namespace sio } }; - inline const std::string& event::get_nsp() const { return m_nsp; } - inline const std::string& event::get_name() const { return m_name; } - inline const message::ptr& event::get_message() const { if(m_messages.size()>0) @@ -60,19 +57,16 @@ namespace sio } } - inline const message::list& event::get_messages() const { return m_messages; } - inline bool event::need_ack() const { return m_need_ack; } - inline void event::put_ack_message(message::ptr const& ack_message) { if(m_need_ack) @@ -102,6 +96,7 @@ namespace sio return m_ack_message; } + inline message::ptr& event::get_ack_message_impl() { return m_ack_message;