From cf5ec9e33b42df37576e595c152e5158b1a76c0a Mon Sep 17 00:00:00 2001 From: melode11 Date: Fri, 22 May 2015 12:10:41 +0800 Subject: [PATCH] Fix a typo in emit binary example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fd252f78..24536bf7 100755 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ h.socket->emit("login"); h.socket()->emit("add user", username); //emit binary char buf[100]; -h.socket()->emit("add user", std::make_shared(&buf,100)); +h.socket()->emit("add user", std::make_shared(buf,100)); //emit message object with lambda ack handler h.socket()->emit("add user", string_message::create(username), [&](message::ptr const& msg) {