diff options
author | Mattes D <github@xoft.cz> | 2014-08-28 16:01:59 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-28 16:01:59 +0200 |
commit | d74e49ddc00095589cfefb29ceb23da13f3e5f0a (patch) | |
tree | c834c6f2046eb30454ad92eb76a8f67a840ae7e4 /src/AllocationPool.h | |
parent | More template keyword fixes. (diff) | |
download | cuberite-d74e49ddc00095589cfefb29ceb23da13f3e5f0a.tar cuberite-d74e49ddc00095589cfefb29ceb23da13f3e5f0a.tar.gz cuberite-d74e49ddc00095589cfefb29ceb23da13f3e5f0a.tar.bz2 cuberite-d74e49ddc00095589cfefb29ceb23da13f3e5f0a.tar.lz cuberite-d74e49ddc00095589cfefb29ceb23da13f3e5f0a.tar.xz cuberite-d74e49ddc00095589cfefb29ceb23da13f3e5f0a.tar.zst cuberite-d74e49ddc00095589cfefb29ceb23da13f3e5f0a.zip |
Diffstat (limited to '')
-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: |