diff options
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/llcommon/lldarray.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llcommon/lldarray.h b/linden/indra/llcommon/lldarray.h index 0e56a11..aee1363 100644 --- a/linden/indra/llcommon/lldarray.h +++ b/linden/indra/llcommon/lldarray.h | |||
@@ -57,7 +57,7 @@ public: | |||
57 | 57 | ||
58 | LLDynamicArray(S32 size=0) : std::vector<Type>(size) { if (size < BlockSize) std::vector<Type>::reserve(BlockSize); } | 58 | LLDynamicArray(S32 size=0) : std::vector<Type>(size) { if (size < BlockSize) std::vector<Type>::reserve(BlockSize); } |
59 | 59 | ||
60 | void reset() { std::vector<Type>::resize(0); } | 60 | void reset() { std::vector<Type>::clear(); } |
61 | 61 | ||
62 | // ACCESSORS | 62 | // ACCESSORS |
63 | const Type& get(S32 index) const { return std::vector<Type>::operator[](index); } | 63 | const Type& get(S32 index) const { return std::vector<Type>::operator[](index); } |