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/playerinfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/playerinfo.h') diff --git a/src/playerinfo.h b/src/playerinfo.h index 63612166a..ebfdba4c6 100644 --- a/src/playerinfo.h +++ b/src/playerinfo.h @@ -45,7 +45,7 @@ typedef std::map StatMap; /** * Backend for core player information. */ -struct PlayerInfoBackend +struct PlayerInfoBackend final { IntMap mAttributes; StatMap mStats; @@ -58,7 +58,7 @@ class Item; /** * Special information storage structure. */ -struct Special +struct Special final { int currentMana; int neededMana; -- cgit v1.2.3-70-g09d2