From 3dcf21babe03cee5080a25e787e1d7e72124288e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Sep 2012 01:34:49 +0300 Subject: Add final keyword to most classes. --- src/playerrelations.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/playerrelations.h') 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 #include +#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(); -- cgit v1.2.3-60-g2f50