summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2015-05-23 13:56:08 +0200
committerLukas Pioch <lukas@zgow.de>2015-05-23 16:28:37 +0200
commite30b2ed487b4a676eff98fcd6118e0837de204e3 (patch)
treef258bae1dce1ca418a14ae0d30f1bbd6740f0437 /src/BlockEntities
parentMerge pull request #2108 from mc-server/tgh-boolean (diff)
downloadcuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.tar
cuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.tar.gz
cuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.tar.bz2
cuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.tar.lz
cuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.tar.xz
cuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.tar.zst
cuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.zip
Diffstat (limited to '')
-rw-r--r--src/BlockEntities/BlockEntityWithItems.h2
-rw-r--r--src/BlockEntities/NoteEntity.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/BlockEntities/BlockEntityWithItems.h b/src/BlockEntities/BlockEntityWithItems.h
index 740dbca51..30a09bc02 100644
--- a/src/BlockEntities/BlockEntityWithItems.h
+++ b/src/BlockEntities/BlockEntityWithItems.h
@@ -76,7 +76,7 @@ protected:
cItemGrid m_Contents;
// cItemGrid::cListener overrides:
- virtual void OnSlotChanged(cItemGrid * a_Grid, int a_SlotNum)
+ virtual void OnSlotChanged(cItemGrid * a_Grid, int a_SlotNum) override
{
UNUSED(a_SlotNum);
ASSERT(a_Grid == &m_Contents);
diff --git a/src/BlockEntities/NoteEntity.h b/src/BlockEntities/NoteEntity.h
index d3f85e9d2..f350ef4c4 100644
--- a/src/BlockEntities/NoteEntity.h
+++ b/src/BlockEntities/NoteEntity.h
@@ -52,7 +52,7 @@ public:
virtual void UsedBy(cPlayer * a_Player) override;
virtual void SendTo(cClientHandle &) override {}
- virtual void SetRedstonePower(bool a_Value)
+ virtual void SetRedstonePower(bool a_Value) override
{
if (a_Value)
{