summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-02 22:15:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-02 22:15:12 +0300
commit82644cd319e46e35a7b4e3b4a61fac2465a2ea66 (patch)
treed737e04b71ea583abe1e835ece785b147a6abfb9 /src/being
parent37343e2b49466bb6cab33f8d1ca362a25f77a660 (diff)
downloadmanaverse-82644cd319e46e35a7b4e3b4a61fac2465a2ea66.tar.gz
manaverse-82644cd319e46e35a7b4e3b4a61fac2465a2ea66.tar.bz2
manaverse-82644cd319e46e35a7b4e3b4a61fac2465a2ea66.tar.xz
manaverse-82644cd319e46e35a7b4e3b4a61fac2465a2ea66.zip
Add missing final/notfinal to classes.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/actor.h2
-rw-r--r--src/being/being.h2
-rw-r--r--src/being/playerignorestrategy.h2
-rw-r--r--src/being/playerinfo.h2
4 files changed, 4 insertions, 4 deletions
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<Actor*> 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;