From 82644cd319e46e35a7b4e3b4a61fac2465a2ea66 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 2 Jun 2014 22:15:12 +0300 Subject: Add missing final/notfinal to classes. --- src/being/actor.h | 2 +- src/being/being.h | 2 +- src/being/playerignorestrategy.h | 2 +- src/being/playerinfo.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/being') diff --git a/src/being/actor.h b/src/being/actor.h index c29986bee..6907ef9e5 100644 --- a/src/being/actor.h +++ b/src/being/actor.h @@ -35,7 +35,7 @@ class Map; typedef std::list Actors; typedef Actors::const_iterator ActorsCIter; -class Actor +class Actor notfinal { public: A_DELETE_COPY(Actor) diff --git a/src/being/being.h b/src/being/being.h index 40c9af4ba..c4b1b693c 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -65,7 +65,7 @@ struct ParticleInfo; extern volatile int cur_time; -struct NextSoundInfo +struct NextSoundInfo final { NextSoundInfo() : sound(nullptr), diff --git a/src/being/playerignorestrategy.h b/src/being/playerignorestrategy.h index 4f3648897..e2993baae 100644 --- a/src/being/playerignorestrategy.h +++ b/src/being/playerignorestrategy.h @@ -32,7 +32,7 @@ class Being; /** * Ignore strategy: describes how we should handle ignores. */ -class PlayerIgnoreStrategy +class PlayerIgnoreStrategy notfinal { public: std::string mDescription; diff --git a/src/being/playerinfo.h b/src/being/playerinfo.h index 262db1a7d..926173e21 100644 --- a/src/being/playerinfo.h +++ b/src/being/playerinfo.h @@ -30,7 +30,7 @@ /** * Stat information storage structure. */ -struct Stat +struct Stat final { int base; int mod; -- cgit v1.2.3-60-g2f50