From dee68403df70630b66319f046cfa8fa7167fec9e Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Fri, 8 Aug 2014 12:13:34 +0900 Subject: [PATCH] Replaced obsolete interface with recommended one on the example code. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f9ce7de9..0f162c82 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,7 @@ Install from package for this branch (poc/0.6) is not supported yet. // Deserialize the serialized data. msgpack::unpacked msg; // includes memory pool and deserialized object - msgpack::unpack(&msg, sbuf.data(), sbuf.size()); + msgpack::unpack(msg, sbuf.data(), sbuf.size()); msgpack::object obj = msg.get(); // Print the deserialized object to stdout.