Update main.h

delete	array<TypeArray> result(size)