From e89045cfcd71f745316f7046be3f16f604950d71 Mon Sep 17 00:00:00 2001 From: mongi3 Date: Sat, 11 Feb 2017 15:06:42 -0700 Subject: [PATCH] Minor fix to Quickstart (broke with 2.0) non reference version won't compile with 2.0 release. --- QUICKSTART-CPP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QUICKSTART-CPP.md b/QUICKSTART-CPP.md index 1d112565..499b04a7 100644 --- a/QUICKSTART-CPP.md +++ b/QUICKSTART-CPP.md @@ -78,7 +78,7 @@ int main(void) { // now starts streaming deserialization. msgpack::object_handle oh; - while(pac.next(&oh)) { + while(pac.next(oh)) { std::cout << oh.get() << std::endl; }