mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-07-03 01:05:22 +02:00
Minor fix to Quickstart (broke with 2.0)
non reference version won't compile with 2.0 release.
This commit is contained in:
parent
c6e6dbc608
commit
e89045cfcd
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user