From 0137e71f6b56f0333b120f807e6d791b6b29aa4b Mon Sep 17 00:00:00 2001 From: Mattes D Date: Mon, 12 Apr 2021 10:12:03 +0200 Subject: Added override specifiers to overridden functions. Needed for clang-11 compatibility. --- src/Generating/MineShafts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Generating/MineShafts.cpp') diff --git a/src/Generating/MineShafts.cpp b/src/Generating/MineShafts.cpp index 2045533c1..189b28095 100644 --- a/src/Generating/MineShafts.cpp +++ b/src/Generating/MineShafts.cpp @@ -256,7 +256,7 @@ public: int a_ProbLevelCorridor, int a_ProbLevelCrossing, int a_ProbLevelStaircase ); - ~cMineShaftSystem(); + virtual ~cMineShaftSystem() override; /** Creates new cMineShaft descendant connected at the specified point, heading the specified direction, if it fits, appends it to the list and calls its AppendBranches() @@ -271,7 +271,7 @@ public: bool CanAppend(const cCuboid & a_BoundingBox); // cGridStructGen::cStructure overrides: - virtual void DrawIntoChunk(cChunkDesc & a_Chunk); + virtual void DrawIntoChunk(cChunkDesc & a_Chunk) override; } ; -- cgit v1.2.3