summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-06-14 21:10:49 +0200
committerTycho <work.tycho+git@gmail.com>2014-06-14 21:10:49 +0200
commit6ddcf42409b0460091abf0bb94b01043dd1b112b (patch)
treeb53d671134e13f79518e9c21491d26bc587fc4e6
parentDocumented starvation callbacks (diff)
downloadcuberite-6ddcf42409b0460091abf0bb94b01043dd1b112b.tar
cuberite-6ddcf42409b0460091abf0bb94b01043dd1b112b.tar.gz
cuberite-6ddcf42409b0460091abf0bb94b01043dd1b112b.tar.bz2
cuberite-6ddcf42409b0460091abf0bb94b01043dd1b112b.tar.lz
cuberite-6ddcf42409b0460091abf0bb94b01043dd1b112b.tar.xz
cuberite-6ddcf42409b0460091abf0bb94b01043dd1b112b.tar.zst
cuberite-6ddcf42409b0460091abf0bb94b01043dd1b112b.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 b7d0bb506..9c833302f 100644
--- a/src/AllocationPool.h
+++ b/src/AllocationPool.h
@@ -19,7 +19,7 @@ public:
virtual void OnStopUsingBuffer() = 0;
/** Is called when the allocation pool is unable to allocate memory. Will be repeatedly
- called if it does not free sufficient memory **/
+ called if it does not free sufficient memory **/
virtual void OnBufferEmpty() = 0;
};
@@ -33,7 +33,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.**/
+elements in the list unless malloc fails so that the program has a reserve to handle OOM.**/
template<class T, size_t NumElementsInReserve>
class cListAllocationPool : public cAllocationPool<T>
{