cpp: fixed template generation logic for 0-length classes #101

This commit is contained in:
FURUHASHI Sadayuki 2012-03-21 00:10:26 -07:00
parent 92975bb21d
commit 0eea92de66

View File

@ -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)
{