mirror of
https://github.com/socketio/socket.io-client-cpp.git
synced 2026-06-13 05:41:51 +00:00
fix compile issue of last commit
This commit is contained in:
parent
a0a9c196f9
commit
6cc01c332e
@ -420,7 +420,8 @@ void set_##__FIELD__(__TYPE__ const& l) \
|
||||
|
||||
void socket::impl::ack(int msgId, const string &name, const message::ptr &ack_message)
|
||||
{
|
||||
packet p(m_nsp, make_message(name, ack_message),msgId,true);
|
||||
message::list li(ack_message);
|
||||
packet p(m_nsp, li.to_array_message(name),msgId,true);
|
||||
send_packet(p);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user