Skip to content

Commit 6cc01c3

Browse files
committed
fix compile issue of last commit
1 parent a0a9c19 commit 6cc01c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sio_socket.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,8 @@ void set_##__FIELD__(__TYPE__ const& l) \
420420

421421
void socket::impl::ack(int msgId, const string &name, const message::ptr &ack_message)
422422
{
423-
packet p(m_nsp, make_message(name, ack_message),msgId,true);
423+
message::list li(ack_message);
424+
packet p(m_nsp, li.to_array_message(name),msgId,true);
424425
send_packet(p);
425426
}
426427

0 commit comments

Comments
 (0)