mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-12-18 11:56:17 +01:00
Minor fix to Quickstart (broke with 2.0)
non reference version won't compile with 2.0 release.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user