Pārlūkot izejas kodu

Add 64 and 128 byte-sized TempAllocator

Daniele Bartolini 12 gadi atpakaļ
vecāks
revīzija
8843752f38
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      engine/core/mem/TempAllocator.h

+ 2 - 0
engine/core/mem/TempAllocator.h

@@ -66,6 +66,8 @@ private:
 	char		m_buffer[SIZE];
 };
 
+typedef TempAllocator<64> TempAllocator64;
+typedef TempAllocator<128> TempAllocator128;
 typedef TempAllocator<256> TempAllocator256;
 typedef TempAllocator<512> TempAllocator512;
 typedef TempAllocator<1024> TempAllocator1024;