diff options
author | Aleric Inglewood | 2010-09-28 03:16:27 +0200 |
---|---|---|
committer | Jacek Antonelli | 2010-10-03 14:07:33 -0500 |
commit | 8816c06a19c4015721c444e95ff91d934615c4fb (patch) | |
tree | ffe107ce0fe36148fda60adde40d2b36b52bb0a4 /linden/indra | |
parent | Fixed (again) how libjpeg is found on Mac. (#256/#464) (diff) | |
download | meta-impy-8816c06a19c4015721c444e95ff91d934615c4fb.zip meta-impy-8816c06a19c4015721c444e95ff91d934615c4fb.tar.gz meta-impy-8816c06a19c4015721c444e95ff91d934615c4fb.tar.bz2 meta-impy-8816c06a19c4015721c444e95ff91d934615c4fb.tar.xz |
SNOW-422: Imprudence doesn't compile with g++ 4.4.x (#562)
Diffstat (limited to 'linden/indra')
-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); } |