Tweak LLDynamicArrayIndexed to not abuse its std::vector.

meow-7.2.2
Dave Parks 2010-03-05 10:48:25 -06:00
parent ea6397fe49
commit 643bbdae72
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ public:
{
U32 n = mVector.size();
mIndexMap[k] = n;
mVector.resize(n+1);
mVector.push_back(Type());
llassert(mVector.size() == mIndexMap.size());
return mVector[n];
}