diff options
author | Aleric Inglewood | 2010-09-28 03:16:27 +0200 |
---|---|---|
committer | Aleric Inglewood | 2010-09-28 03:16:27 +0200 |
commit | d75edae2516f749f7dd0de54952e74d187cd2fd7 (patch) | |
tree | 89df2945ac1213016769ab5dc317127bcd8fb75d /linden/indra | |
parent | RED-561: Optimization flags used during --Type=Debug (linux x86_64) (diff) | |
download | meta-impy-d75edae2516f749f7dd0de54952e74d187cd2fd7.zip meta-impy-d75edae2516f749f7dd0de54952e74d187cd2fd7.tar.gz meta-impy-d75edae2516f749f7dd0de54952e74d187cd2fd7.tar.bz2 meta-impy-d75edae2516f749f7dd0de54952e74d187cd2fd7.tar.xz |
RED-562: SNOW-422: Imprudence doesn't compile with g++ 4.4.x
See http://redmine.imprudenceviewer.org/issues/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); } |