remove arguments to boost::shared_array::reset to avoid type error