summaryrefslogtreecommitdiff
path: root/src/playerrelations.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/playerrelations.h
parentc217b7141df580b686a0eef085bd0eb0a8e6771a (diff)
downloadplus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.gz
plus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.bz2
plus-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.xz
plus-3dcf21babe03cee5080a25e787e1d7e72124288e.zip
Add final keyword to most classes.
Diffstat (limited to 'src/playerrelations.h')
-rw-r--r--src/playerrelations.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/playerrelations.h b/src/playerrelations.h
index e4a5a9e98..6b2ed62d5 100644
--- a/src/playerrelations.h
+++ b/src/playerrelations.h
@@ -28,9 +28,11 @@
#include <list>
#include <map>
+#include "localconsts.h"
+
class Being;
-struct PlayerRelation
+struct PlayerRelation final
{
static const unsigned int EMOTE = (1 << 0);
static const unsigned int SPEECH_FLOAT = (1 << 1);
@@ -102,7 +104,7 @@ class PlayerRelationsListener
* preferences the user of the local client has wrt other players (identified
* by std::string).
*/
-class PlayerRelationsManager
+class PlayerRelationsManager final
{
public:
PlayerRelationsManager();