diff options
author | Aleric Inglewood | 2010-09-28 03:16:27 +0200 |
---|---|---|
committer | McCabe Maxsted | 2010-10-01 20:51:48 -0700 |
commit | 54603c60b480e7e6a38802bef63122d6dbcdac68 (patch) | |
tree | a16e53c518280cafdc98b553f48d665d5f3d44f1 /linden/indra/llcommon/lldarray.h | |
parent | RED-561: Optimization flags used during --Type=Debug (linux x86_64) (diff) | |
download | meta-impy-54603c60b480e7e6a38802bef63122d6dbcdac68.zip meta-impy-54603c60b480e7e6a38802bef63122d6dbcdac68.tar.gz meta-impy-54603c60b480e7e6a38802bef63122d6dbcdac68.tar.bz2 meta-impy-54603c60b480e7e6a38802bef63122d6dbcdac68.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 '')
-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); } |