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 | f6b16271b5c2b957bcd945287b718d5457c68fcd (patch) | |
tree | 05b9c6540a8f9bab52ece7865372ccc0907b64f1 | |
parent | eb5b0f2542c16aaac2283d4050a4cc2a3c6691f8 (diff) |
Tweak LLDynamicArrayIndexed to not abuse its std::vector.
-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]; } |