Brian Fiete 6 mesi fa
parent
commit
9b8c29b803
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      BeefySysLib/util/Deque.h

+ 2 - 2
BeefySysLib/util/Deque.h

@@ -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)