Minor fix to Quickstart (broke with 2.0)

non reference version won't compile with 2.0 release.
This commit is contained in:
mongi3 2017-02-11 15:06:42 -07:00 committed by GitHub
parent c6e6dbc608
commit e89045cfcd

View File

@ -78,7 +78,7 @@ int main(void) {
// now starts streaming deserialization. // now starts streaming deserialization.
msgpack::object_handle oh; msgpack::object_handle oh;
while(pac.next(&oh)) { while(pac.next(oh)) {
std::cout << oh.get() << std::endl; std::cout << oh.get() << std::endl;
} }