diff options
author | Mattes D <github@xoft.cz> | 2014-08-28 16:35:56 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-28 16:35:56 +0200 |
commit | e931b649ac7915de1326d1dc124503383d82d3cf (patch) | |
tree | 3065edcd8277ee6f375ee433498fd6f6a67fe620 /src/AllocationPool.h | |
parent | Fixed a typo. (diff) | |
parent | Final template keyword style fix. (diff) | |
download | cuberite-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 'src/AllocationPool.h')
-rw-r--r-- | src/AllocationPool.h | 4 |
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: |