mirror of https://github.com/AxioDL/nod.git
minor vector optimization
This commit is contained in:
parent
cbea8fe764
commit
bcf67ca8eb
|
@ -134,6 +134,8 @@ class PartitionWii : public DiscBase::IPartition
|
|||
titleVersion = SBig(titleVersion);
|
||||
numContents = SBig(numContents);
|
||||
bootIdx = SBig(bootIdx);
|
||||
contents.clear();
|
||||
contents.reserve(numContents);
|
||||
for (uint16_t c=0 ; c<numContents ; ++c)
|
||||
{
|
||||
contents.emplace_back();
|
||||
|
|
Loading…
Reference in New Issue