Skip to content

Commit 80b2380

Browse files
committed
Merge pull request #39 from hfossli/patch-1
Update README.md
2 parents ccdd0c5 + 9edb2f2 commit 80b2380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ h.socket()->emit("add user", username);
6161
char buf[100];
6262
h.socket()->emit("add user", std::make_shared<std::string>(buf,100));
6363
//emit message object with lambda ack handler
64-
h.socket()->emit("add user", string_message::create(username), [&](message::ptr const& msg)
64+
h.socket()->emit("add user", string_message::create(username), [&](message::list const& msg)
6565
{
6666
});
6767
//emit with `message::list`

0 commit comments

Comments
 (0)