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; }