mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-19 21:18:23 +01:00
cpp: fixed template generation logic for 0-length classes #101
This commit is contained in:
parent
92975bb21d
commit
0eea92de66
@ -50,7 +50,7 @@ struct define<> {
|
||||
template <typename Packer>
|
||||
void msgpack_pack(Packer& pk) const
|
||||
{
|
||||
pk.pack_array(1);
|
||||
pk.pack_array(0);
|
||||
}
|
||||
void msgpack_unpack(msgpack::object o)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user