summaryrefslogtreecommitdiffstats
path: root/src/AllocationPool.h
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2014-08-21 21:37:41 +0200
committerSamuel Barney <samjbarney@gmail.com>2014-08-21 21:37:41 +0200
commit6db727c60c01264dc9a9c209c5b335da8f53cd64 (patch)
tree1ec865e37c74c571de0bc7249d1b5f17dd8f5a1c /src/AllocationPool.h
parentcommented out unused functions (diff)
downloadcuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar
cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.gz
cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.bz2
cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.lz
cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.xz
cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.zst
cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.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..98ab9b389 100644
--- a/src/AllocationPool.h
+++ b/src/AllocationPool.h
@@ -63,7 +63,7 @@ class cListAllocationPool : public cAllocationPool<T>
}
}
- virtual T * Allocate() override
+ virtual T * Allocate() /*override*/
{
if (m_FreeList.size() <= NumElementsInReserve)
{
@@ -88,7 +88,7 @@ class cListAllocationPool : public cAllocationPool<T>
m_FreeList.pop_front();
return ret;
}
- virtual void Free(T * a_ptr) override
+ virtual void Free(T * a_ptr) /*override*/
{
if (a_ptr == NULL)
{