Merge pull request #694 from oleksak/patch-1

Update object.hpp
This commit is contained in:
Takatoshi Kondo 2018-05-28 07:28:36 +09:00 committed by GitHub
commit 0a65c443a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -370,7 +370,7 @@ struct object_pack_visitor {
return true;
}
bool start_map(uint32_t num_kv_pairs) {
m_packer.pack_array(num_kv_pairs);
m_packer.pack_map(num_kv_pairs);
return true;
}
bool start_map_key() {