summaryrefslogtreecommitdiffstats
path: root/src/LineBlockTracer.h
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2017-09-11 23:20:49 +0200
committerMattes D <github@xoft.cz>2017-09-11 23:20:49 +0200
commite225b7f8262df48ad4d7094bc295add3007b0649 (patch)
treea42e9afcc88cfe6e9d1258458e3ad42764083d0e /src/LineBlockTracer.h
parentcBlockArea: change MakeIndex to return size_t (diff)
downloadcuberite-e225b7f8262df48ad4d7094bc295add3007b0649.tar
cuberite-e225b7f8262df48ad4d7094bc295add3007b0649.tar.gz
cuberite-e225b7f8262df48ad4d7094bc295add3007b0649.tar.bz2
cuberite-e225b7f8262df48ad4d7094bc295add3007b0649.tar.lz
cuberite-e225b7f8262df48ad4d7094bc295add3007b0649.tar.xz
cuberite-e225b7f8262df48ad4d7094bc295add3007b0649.tar.zst
cuberite-e225b7f8262df48ad4d7094bc295add3007b0649.zip
Diffstat (limited to 'src/LineBlockTracer.h')
-rw-r--r--src/LineBlockTracer.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/LineBlockTracer.h b/src/LineBlockTracer.h
index 2851cfbd7..2204e3671 100644
--- a/src/LineBlockTracer.h
+++ b/src/LineBlockTracer.h
@@ -18,17 +18,12 @@
// fwd: Chunk.h
class cChunk;
-// fwd: cChunkMap.h
-typedef cItemCallback<cChunk> cChunkCallback;
-
-
class cLineBlockTracer :
- public cBlockTracer,
- public cChunkCallback
+ public cBlockTracer
{
typedef cBlockTracer super;
@@ -109,8 +104,7 @@ protected:
/** Moves m_Current to the next block on the line; returns false if no move is possible (reached the end) */
bool MoveToNextBlock(void);
- // cChunkCallback overrides:
- virtual bool Item(cChunk * a_Chunk) override;
+ bool ChunkCallback(cChunk * a_Chunk);
} ;