summaryrefslogtreecommitdiffstats
path: root/src/AllocationPool.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-28 16:35:56 +0200
committerMattes D <github@xoft.cz>2014-08-28 16:35:56 +0200
commite931b649ac7915de1326d1dc124503383d82d3cf (patch)
tree3065edcd8277ee6f375ee433498fd6f6a67fe620 /src/AllocationPool.h
parentFixed a typo. (diff)
parentFinal template keyword style fix. (diff)
downloadcuberite-e931b649ac7915de1326d1dc124503383d82d3cf.tar
cuberite-e931b649ac7915de1326d1dc124503383d82d3cf.tar.gz
cuberite-e931b649ac7915de1326d1dc124503383d82d3cf.tar.bz2
cuberite-e931b649ac7915de1326d1dc124503383d82d3cf.tar.lz
cuberite-e931b649ac7915de1326d1dc124503383d82d3cf.tar.xz
cuberite-e931b649ac7915de1326d1dc124503383d82d3cf.tar.zst
cuberite-e931b649ac7915de1326d1dc124503383d82d3cf.zip
Diffstat (limited to '')
-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: