mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 15:53:13 +08:00
This commit removes unnecessary container size manipulation in yaml parser. Space reservation is done by dedicated function reserveBasedOnEstimates, so there is no need to manually resize the container's size afterwards. - Ensure that no invalidated iterators/references are used. - Use push_back() instead of resize(...size()+1). - Use reserveBasedOnEstimates() instead of reserve(...size()+1) Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>