diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-24 22:38:46 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-24 22:38:46 +0200 |
commit | d3012d69040f2baf0041eeaa382ee6b04900d8cf (patch) | |
tree | 5229b4b4cccaeaf7e12d2f146aed040e52581510 /src/BlockEntities | |
parent | Fixed block drops (diff) | |
parent | Merge pull request #1235 from mc-server/redundant-semis (diff) | |
download | cuberite-d3012d69040f2baf0041eeaa382ee6b04900d8cf.tar cuberite-d3012d69040f2baf0041eeaa382ee6b04900d8cf.tar.gz cuberite-d3012d69040f2baf0041eeaa382ee6b04900d8cf.tar.bz2 cuberite-d3012d69040f2baf0041eeaa382ee6b04900d8cf.tar.lz cuberite-d3012d69040f2baf0041eeaa382ee6b04900d8cf.tar.xz cuberite-d3012d69040f2baf0041eeaa382ee6b04900d8cf.tar.zst cuberite-d3012d69040f2baf0041eeaa382ee6b04900d8cf.zip |
Diffstat (limited to 'src/BlockEntities')
-rw-r--r-- | src/BlockEntities/BlockEntity.h | 4 | ||||
-rw-r--r-- | src/BlockEntities/JukeboxEntity.h | 2 | ||||
-rw-r--r-- | src/BlockEntities/NoteEntity.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/BlockEntities/BlockEntity.h b/src/BlockEntities/BlockEntity.h index 24c25e729..5710f8543 100644 --- a/src/BlockEntities/BlockEntity.h +++ b/src/BlockEntities/BlockEntity.h @@ -38,9 +38,9 @@ protected: public: // tolua_end - virtual ~cBlockEntity() {}; // force a virtual destructor in all descendants + virtual ~cBlockEntity() {} // force a virtual destructor in all descendants - virtual void Destroy(void) {}; + virtual void Destroy(void) {} void SetWorld(cWorld * a_World) { diff --git a/src/BlockEntities/JukeboxEntity.h b/src/BlockEntities/JukeboxEntity.h index 8bb3009eb..d677d340f 100644 --- a/src/BlockEntities/JukeboxEntity.h +++ b/src/BlockEntities/JukeboxEntity.h @@ -58,7 +58,7 @@ public: static const char * GetClassStatic(void) { return "cJukeboxEntity"; } virtual void UsedBy(cPlayer * a_Player) override; - virtual void SendTo(cClientHandle &) override { }; + virtual void SendTo(cClientHandle &) override {} private: int m_Record; diff --git a/src/BlockEntities/NoteEntity.h b/src/BlockEntities/NoteEntity.h index 07b8fd259..e8497da3e 100644 --- a/src/BlockEntities/NoteEntity.h +++ b/src/BlockEntities/NoteEntity.h @@ -52,7 +52,7 @@ public: // tolua_end virtual void UsedBy(cPlayer * a_Player) override; - virtual void SendTo(cClientHandle &) override { }; + virtual void SendTo(cClientHandle &) override {} static const char * GetClassStatic(void) { return "cNoteEntity"; } |