Minor STL usage tweak

This commit is contained in:
Jack Andersen 2016-08-11 09:54:34 -10:00
parent e14bbeb368
commit 157c06f1f9
1 changed files with 1 additions and 2 deletions

View File

@ -446,8 +446,7 @@ bool MREA::PCCook(const hecl::ProjectPath& outPath,
std::vector<uint8_t>& sec = *it;
int i = sec.size();
int end = ROUND_UP_32(i);
for (; i<end ; ++i)
sec.push_back(0);
sec.resize(end);
w.writeUint32Big(end);
}
}