Merge pull request #1139 from AbigailBuccaneer/clang-7

Fix building under clang-7
1008-fix
krzys_h 2018-04-24 14:12:15 +02:00 committed by GitHub
commit 289b6577d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -85,7 +85,7 @@ protected:
* \class CSceneEndCondition
* \brief Scene end condition
*/
class CSceneEndCondition : public CSceneCondition
class CSceneEndCondition final : public CSceneCondition
{
public:
int winTeam = 0;
@ -109,7 +109,7 @@ public:
* \class CAudioChangeCondition
* \brief Audio change condition
*/
class CAudioChangeCondition : public CSceneCondition
class CAudioChangeCondition final : public CSceneCondition
{
public:
std::string music = "";

View File

@ -78,7 +78,7 @@ public:
* \brief Scoreboard rule for destroying other objects
* \see CScoreboard::AddKillRule()
*/
class CScoreboardKillRule : public CScoreboardRule, public CObjectCondition
class CScoreboardKillRule final : public CScoreboardRule, public CObjectCondition
{
public:
//! Read from line in scene file
@ -90,7 +90,7 @@ public:
* \brief Scoreboard rule for EndMissionTake rewards
* \see CScoreboard::AddEndTakeRule()
*/
class CScoreboardEndTakeRule : public CScoreboardRule
class CScoreboardEndTakeRule final : public CScoreboardRule
{
public:
int team = 0;