summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-22 01:34:49 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-22 01:34:49 +0300
commit3dcf21babe03cee5080a25e787e1d7e72124288e (patch)
tree7051c6beddd3e7e1de960bb84e46601db8e2e5c4 /src/localplayer.h
parentc217b7141df580b686a0eef085bd0eb0a8e6771a (diff)
downloadmanaplus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.gz
manaplus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.bz2
manaplus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.xz
manaplus-3dcf21babe03cee5080a25e787e1d7e72124288e.zip
Add final keyword to most classes.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index 6dce18e8c..cfd2902d2 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -43,7 +43,7 @@ class Map;
class OkDialog;
struct SkillInfo;
-class AwayListener : public gcn::ActionListener
+class AwayListener final : public gcn::ActionListener
{
public:
void action(const gcn::ActionEvent &event);
@@ -66,8 +66,9 @@ enum
/**
* The local player character.
*/
-class LocalPlayer : public Being, public ActorSpriteListener,
- public Listener
+class LocalPlayer final : public Being,
+ public ActorSpriteListener,
+ public Listener
{
public:
/**