Skip to content

Commit d15d922

Browse files
committed
Merge pull request #461 from redboltz/add_unpack_visitor_api
Added a visitor version of unpack API,
2 parents a3f353e + 6593cba commit d15d922

File tree

8 files changed

+1706
-22
lines changed

8 files changed

+1706
-22
lines changed

example/cpp03/stream.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class Server {
4444
m_pac.buffer_consumed(count);
4545

4646
msgpack::object_handle oh;
47-
while (m_pac.next(&oh)) {
47+
while (m_pac.next(oh)) {
4848
msgpack::object msg = oh.get();
4949
unique_zone& life = oh.zone();
5050
process_message(msg, life);

0 commit comments

Comments
 (0)