mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Template fix
This commit is contained in:
parent
e288fca943
commit
9b8c29b803
1 changed files with 2 additions and 2 deletions
|
@ -370,7 +370,7 @@ protected:
|
||||||
|
|
||||||
void Grow(intptr newSize)
|
void Grow(intptr newSize)
|
||||||
{
|
{
|
||||||
T* newVals = TAlloc::allocate<T>(newSize);
|
T* newVals = TAlloc::template allocate<T>(newSize);
|
||||||
if (this->mVals != NULL)
|
if (this->mVals != NULL)
|
||||||
{
|
{
|
||||||
if (this->mSize > 0)
|
if (this->mSize > 0)
|
||||||
|
@ -707,7 +707,7 @@ class DequeImpl<T, TAlloc, true> : public DequeBase<T, TAlloc>
|
||||||
protected:
|
protected:
|
||||||
void Grow(intptr newSize)
|
void Grow(intptr newSize)
|
||||||
{
|
{
|
||||||
T* newVals = TAlloc::allocate<T>(newSize);
|
T* newVals = TAlloc::template allocate<T>(newSize);
|
||||||
if (this->mVals != NULL)
|
if (this->mVals != NULL)
|
||||||
{
|
{
|
||||||
if (this->mSize > 0)
|
if (this->mSize > 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue