summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-06-14 18:23:57 +0200
committerTycho <work.tycho+git@gmail.com>2014-06-14 18:23:57 +0200
commit061102c77860e7a31b7504ca52bb99e419393fb2 (patch)
treee62540b8b3d9d14546912e9840e2fb32ab61cb31 /src
parentmerge master (diff)
downloadcuberite-061102c77860e7a31b7504ca52bb99e419393fb2.tar
cuberite-061102c77860e7a31b7504ca52bb99e419393fb2.tar.gz
cuberite-061102c77860e7a31b7504ca52bb99e419393fb2.tar.bz2
cuberite-061102c77860e7a31b7504ca52bb99e419393fb2.tar.lz
cuberite-061102c77860e7a31b7504ca52bb99e419393fb2.tar.xz
cuberite-061102c77860e7a31b7504ca52bb99e419393fb2.tar.zst
cuberite-061102c77860e7a31b7504ca52bb99e419393fb2.zip
Diffstat (limited to '')
-rw-r--r--src/ChunkMap.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/ChunkMap.h b/src/ChunkMap.h
index 1a3258f15..efe489854 100644
--- a/src/ChunkMap.h
+++ b/src/ChunkMap.h
@@ -403,9 +403,18 @@ private:
class cStarvationCallbacks
: public cAllocationPool<cChunkData::sChunkSection,1600>::cStarvationCallbacks
{
- virtual void OnStartingUsingBuffer() {}
- virtual void OnStopUsingBuffer() {}
- virtual void OnBufferEmpty() {}
+ virtual void OnStartingUsingBuffer()
+ {
+ LOG("Using backup memory buffer");
+ }
+ virtual void OnStopUsingBuffer()
+ {
+ LOG("Stoped using backup memory buffer");
+ }
+ virtual void OnBufferEmpty()
+ {
+ LOG("Out of Memory");
+ }
};
typedef std::list<cChunkLayer *> cChunkLayerList;