Renamed zone::malloc familiy functions.

This commit is contained in:
Takatoshi Kondo
2014-01-26 22:18:26 +00:00
parent d70c44b723
commit beebccd323
17 changed files with 52 additions and 52 deletions

View File

@@ -121,7 +121,7 @@ struct define {
void msgpack_object(msgpack::object* o, msgpack::zone* z) const
{
o->type = type::ARRAY;
o->via.array.ptr = static_cast<object*>(z->malloc(sizeof(object)*sizeof...(Args)));
o->via.array.ptr = static_cast<object*>(z->allocate_align(sizeof(object)*sizeof...(Args)));
o->via.array.size = sizeof...(Args);
define_imp<tuple<Args&...>, sizeof...(Args)>::object(o, z, a);