diff options
author | Dave Parks <davep@lindenlab.com> | 2010-03-05 10:48:25 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-03-05 10:48:25 -0600 |
commit | 643bbdae728e01a0855accf3b5e614026dc56f9f (patch) | |
tree | a68c137078dbd2aae75f16962ecb31387cd072a9 /indra | |
parent | ea6397fe4990b73e190391d61781c609fbd1f8c1 (diff) |
Tweak LLDynamicArrayIndexed to not abuse its std::vector.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llcommon/lldarray.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/lldarray.h b/indra/llcommon/lldarray.h index 0e56a11d53..af647c7e7a 100644 --- a/indra/llcommon/lldarray.h +++ b/indra/llcommon/lldarray.h @@ -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]; } |