STORM-419 FIXED <anonymous>' is used uninitialized in this function in lldarray.h

Author: Robin Cornelius
Ported by: Techwolf Lupindo
Reviewed by: Merov Linden
meow-7.2.2
Vadim ProductEngine 2010-10-20 20:26:47 +03:00
parent cbb184d986
commit 243210e0ab
2 changed files with 3 additions and 1 deletions

View File

@ -529,6 +529,7 @@ Pf Shan
CT-230
CT-231
CT-321
SNOW-422
princess niven
VWR-5733
CT-85
@ -643,6 +644,7 @@ Strife Onizuka
VWR-183
VWR-2265
VWR-4111
SNOW-691
Tayra Dagostino
SNOW-517
SNOW-543

View File

@ -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); }