summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2010-10-20 20:26:47 +0300
committerVadim ProductEngine <vsavchuk@productengine.com>2010-10-20 20:26:47 +0300
commit243210e0ab0bc1454bcbb3a5325fec199737a7c3 (patch)
tree07f431d7a48c8a1f4b2b245d1472e5bf51f69233 /indra/llcommon
parentcbb184d986cbdd09d36cf2b2313726f0f2582cb2 (diff)
STORM-419 FIXED <anonymous>' is used uninitialized in this function in lldarray.h
Author: Robin Cornelius Ported by: Techwolf Lupindo Reviewed by: Merov Linden
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/lldarray.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/lldarray.h b/indra/llcommon/lldarray.h
index a8cd03b42a..131b819c99 100644
--- a/indra/llcommon/lldarray.h
+++ b/indra/llcommon/lldarray.h
@@ -51,7 +51,7 @@ public:
LLDynamicArray(S32 size=0) : std::vector<Type>(size) { if (size < BlockSize) std::vector<Type>::reserve(BlockSize); }
- void reset() { std::vector<Type>::resize(0); }
+ void reset() { std::vector<Type>::clear(); }
// ACCESSORS
const Type& get(S32 index) const { return std::vector<Type>::operator[](index); }