Replace Array with std::vector in resmanager.{h,cpp}.