|
@@ -450,7 +450,7 @@ protected:
|
|
|
|
|
|
void SetBufferSize(intptr newSize)
|
|
|
{
|
|
|
- T* newVals = allocate<T>(newSize);
|
|
|
+ T* newVals = TAlloc::template allocate<T>(newSize);
|
|
|
if (this->mVals != NULL)
|
|
|
{
|
|
|
if (this->mSize > 0)
|
|
@@ -630,7 +630,7 @@ public:
|
|
|
{
|
|
|
intptr newSize = this->mAllocSize + this->mAllocSize / 2 + 1;
|
|
|
|
|
|
- T* newVals = allocate<T>(newSize);
|
|
|
+ T* newVals = TAlloc::template allocate<T>(newSize);
|
|
|
if (this->mVals != NULL)
|
|
|
{
|
|
|
if (idx > 0) // Copy left of idx
|
|
@@ -658,7 +658,7 @@ public:
|
|
|
{
|
|
|
intptr newSize = BF_MAX(this->mSize + size, this->mAllocSize + this->mAllocSize / 2 + 1);
|
|
|
|
|
|
- T* newVals = allocate<T>(newSize);
|
|
|
+ T* newVals = TAlloc::template allocate<T>(newSize);
|
|
|
if (this->mVals != NULL)
|
|
|
{
|
|
|
if (idx > 0) // Copy left of idx
|
|
@@ -687,7 +687,7 @@ public:
|
|
|
{
|
|
|
intptr newSize = BF_MAX(this->mSize + count, this->mAllocSize + this->mAllocSize / 2 + 1);
|
|
|
|
|
|
- T* newVals = allocate<T>(newSize);
|
|
|
+ T* newVals = TAlloc::template allocate<T>(newSize);
|
|
|
if (this->mVals != NULL)
|
|
|
{
|
|
|
if (idx > 0) // Copy left of idx
|
|
@@ -769,7 +769,7 @@ public:
|
|
|
protected:
|
|
|
void SetBufferSize(intptr newSize)
|
|
|
{
|
|
|
- T* newVals = allocate<T>(newSize);
|
|
|
+ T* newVals = TAlloc::template allocate<T>(newSize);
|
|
|
if (this->mVals != NULL)
|
|
|
{
|
|
|
if (this->mSize > 0)
|
|
@@ -933,7 +933,7 @@ public:
|
|
|
{
|
|
|
intptr newSize = this->mAllocSize + this->mAllocSize / 2 + 1;
|
|
|
|
|
|
- T* newVals = allocate<T>(newSize);
|
|
|
+ T* newVals = TAlloc::template allocate<T>(newSize);
|
|
|
if (this->mVals != NULL)
|
|
|
{
|
|
|
if (idx > 0) // Copy left of idx
|
|
@@ -961,7 +961,7 @@ public:
|
|
|
{
|
|
|
intptr newSize = BF_MAX(this->mSize + size, this->mAllocSize + this->mAllocSize / 2 + 1);
|
|
|
|
|
|
- T* newVals = allocate<T>(newSize);
|
|
|
+ T* newVals = TAlloc::template allocate<T>(newSize);
|
|
|
if (this->mVals != NULL)
|
|
|
{
|
|
|
if (idx > 0) // Copy left of idx
|
|
@@ -989,7 +989,7 @@ public:
|
|
|
{
|
|
|
intptr newSize = BF_MAX(this->mSize + size, this->mAllocSize + this->mAllocSize / 2 + 1);
|
|
|
|
|
|
- T* newVals = allocate<T>(newSize);
|
|
|
+ T* newVals = TAlloc::template allocate<T>(newSize);
|
|
|
if (this->mVals != NULL)
|
|
|
{
|
|
|
if (idx > 0) // Copy left of idx
|