diff options
Diffstat (limited to 'linden/indra/llcommon/lldqueueptr.h')
-rw-r--r-- | linden/indra/llcommon/lldqueueptr.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/llcommon/lldqueueptr.h b/linden/indra/llcommon/lldqueueptr.h index 248357e..07addb5 100644 --- a/linden/indra/llcommon/lldqueueptr.h +++ b/linden/indra/llcommon/lldqueueptr.h | |||
@@ -47,7 +47,7 @@ public: | |||
47 | void init(); | 47 | void init(); |
48 | void destroy(); | 48 | void destroy(); |
49 | void reset(); | 49 | void reset(); |
50 | void realloc(U32 newsize); | 50 | void reallocate(U32 newsize); |
51 | 51 | ||
52 | // ACCESSORS | 52 | // ACCESSORS |
53 | const Type& get(const S32 index) const; // no bounds checking | 53 | const Type& get(const S32 index) const; // no bounds checking |
@@ -115,7 +115,7 @@ template <class Type> | |||
115 | inline LLDynamicQueuePtr<Type>::LLDynamicQueuePtr(const S32 size) | 115 | inline LLDynamicQueuePtr<Type>::LLDynamicQueuePtr(const S32 size) |
116 | { | 116 | { |
117 | init(); | 117 | init(); |
118 | realloc(size); | 118 | reallocate(size); |
119 | } | 119 | } |
120 | 120 | ||
121 | template <class Type> | 121 | template <class Type> |
@@ -134,7 +134,7 @@ inline void LLDynamicQueuePtr<Type>::init() | |||
134 | } | 134 | } |
135 | 135 | ||
136 | template <class Type> | 136 | template <class Type> |
137 | inline void LLDynamicQueuePtr<Type>::realloc(U32 newsize) | 137 | inline void LLDynamicQueuePtr<Type>::reallocate(U32 newsize) |
138 | { | 138 | { |
139 | if (newsize) | 139 | if (newsize) |
140 | { | 140 | { |
@@ -308,7 +308,7 @@ inline S32 LLDynamicQueuePtr<Type>::push(const Type &obj) | |||
308 | { | 308 | { |
309 | if (mMaxObj - count() <= 1) | 309 | if (mMaxObj - count() <= 1) |
310 | { | 310 | { |
311 | realloc(mMaxObj * 2); | 311 | reallocate(mMaxObj * 2); |
312 | } | 312 | } |
313 | 313 | ||
314 | mMemory[mLastObj++] = obj; | 314 | mMemory[mLastObj++] = obj; |