Skip to content

Commit 035ad01

Browse files
committed
fix link error of sio::event accessors
1 parent 933ee08 commit 035ad01

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/sio_socket.cpp

+1-6
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,16 @@ namespace sio
3636
}
3737
};
3838

39-
inline
4039
const std::string& event::get_nsp() const
4140
{
4241
return m_nsp;
4342
}
4443

45-
inline
4644
const std::string& event::get_name() const
4745
{
4846
return m_name;
4947
}
5048

51-
inline
5249
const message::ptr& event::get_message() const
5350
{
5451
if(m_messages.size()>0)
@@ -60,19 +57,16 @@ namespace sio
6057
}
6158
}
6259

63-
inline
6460
const message::list& event::get_messages() const
6561
{
6662
return m_messages;
6763
}
6864

69-
inline
7065
bool event::need_ack() const
7166
{
7267
return m_need_ack;
7368
}
7469

75-
inline
7670
void event::put_ack_message(message::ptr const& ack_message)
7771
{
7872
if(m_need_ack)
@@ -102,6 +96,7 @@ namespace sio
10296
return m_ack_message;
10397
}
10498

99+
inline
105100
message::ptr& event::get_ack_message_impl()
106101
{
107102
return m_ack_message;

0 commit comments

Comments
 (0)