summaryrefslogtreecommitdiffstats
path: root/src/AllocationPool.h
diff options
context:
space:
mode:
authorHownaer <franzi.moos@googlemail.com>2014-08-28 18:58:58 +0200
committerHownaer <franzi.moos@googlemail.com>2014-08-28 18:58:58 +0200
commitc2260addf4ede896695ad1212592912b2f3e1ed4 (patch)
treeb4e4943d4b3df7febf9d53a1ec5d54b61298ca0b /src/AllocationPool.h
parentFixed anvil placing. (diff)
parentMerge pull request #1323 from mc-server/CraftingFixes (diff)
downloadcuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.tar
cuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.tar.gz
cuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.tar.bz2
cuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.tar.lz
cuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.tar.xz
cuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.tar.zst
cuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.zip
Diffstat (limited to 'src/AllocationPool.h')
-rw-r--r--src/AllocationPool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AllocationPool.h b/src/AllocationPool.h
index 3c9dbe8c9..61431a548 100644
--- a/src/AllocationPool.h
+++ b/src/AllocationPool.h
@@ -3,7 +3,7 @@
#include <memory>
-template<class T>
+template <class T>
class cAllocationPool
{
public:
@@ -34,7 +34,7 @@ public:
/** Allocates memory storing unused elements in a linked list. Keeps at least NumElementsInReserve
elements in the list unless malloc fails so that the program has a reserve to handle OOM.**/
-template<class T, size_t NumElementsInReserve>
+template <class T, size_t NumElementsInReserve>
class cListAllocationPool : public cAllocationPool<T>
{
public: