Skip to content

Commit 0a65c44

Browse files
authored
Merge pull request #694 from oleksak/patch-1
Update object.hpp
2 parents ddb3201 + bae6a8d commit 0a65c44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/msgpack/v1/object.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ struct object_pack_visitor {
370370
return true;
371371
}
372372
bool start_map(uint32_t num_kv_pairs) {
373-
m_packer.pack_array(num_kv_pairs);
373+
m_packer.pack_map(num_kv_pairs);
374374
return true;
375375
}
376376
bool start_map_key() {

0 commit comments

Comments
 (0)