summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-29 06:54:37 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-29 06:54:37 +0300
commitb26fc689da4e1e8e02c8f71904a70ce5c156b482 (patch)
tree66d8c2cd33a9f7e9d3ffbaaff5ecdedeee26079f
parentf66d0455c65855da1768c692857aa661e5208d8c (diff)
downloadmv-b26fc689da4e1e8e02c8f71904a70ce5c156b482.tar.gz
mv-b26fc689da4e1e8e02c8f71904a70ce5c156b482.tar.bz2
mv-b26fc689da4e1e8e02c8f71904a70ce5c156b482.tar.xz
mv-b26fc689da4e1e8e02c8f71904a70ce5c156b482.zip
Add missing final / notfinal keywords to classes.
-rw-r--r--src/actormanager.h2
-rw-r--r--src/events/inputguievent.h2
-rw-r--r--src/events/keyevent.h2
-rw-r--r--src/events/mouseevent.h2
-rw-r--r--src/events/selectionevent.h2
-rw-r--r--src/gui/widgets/basiccontainer2.h2
-rw-r--r--src/resources/map/maplayer.h2
7 files changed, 7 insertions, 7 deletions
diff --git a/src/actormanager.h b/src/actormanager.h
index 5188df16c..15c9d1a83 100644
--- a/src/actormanager.h
+++ b/src/actormanager.h
@@ -65,7 +65,7 @@ typedef ActorSpritesMap::const_iterator ActorSpritesMapConstIterator;
typedef std::map<BeingId, std::set<std::string> > IdNameMapping;
typedef IdNameMapping::const_iterator IdNameMappingCIter;
-class ActorManager final: public ConfigListener
+class ActorManager final : public ConfigListener
{
public:
ActorManager();
diff --git a/src/events/inputguievent.h b/src/events/inputguievent.h
index 2a702db91..dc4dfe427 100644
--- a/src/events/inputguievent.h
+++ b/src/events/inputguievent.h
@@ -71,7 +71,7 @@
*
* @author Olof Naessén
*/
-class InputGuiEvent: public Event
+class InputGuiEvent notfinal : public Event
{
public:
/**
diff --git a/src/events/keyevent.h b/src/events/keyevent.h
index b08b57f9d..e8fea72ed 100644
--- a/src/events/keyevent.h
+++ b/src/events/keyevent.h
@@ -81,7 +81,7 @@ class Widget;
/**
* Represents a key event.
*/
-class KeyEvent: public InputGuiEvent
+class KeyEvent final : public InputGuiEvent
{
public:
/**
diff --git a/src/events/mouseevent.h b/src/events/mouseevent.h
index 3a3a70f0a..cd43af96b 100644
--- a/src/events/mouseevent.h
+++ b/src/events/mouseevent.h
@@ -76,7 +76,7 @@ class Widget;
*
* @author Olof Naessén
*/
-class MouseEvent: public InputGuiEvent
+class MouseEvent final : public InputGuiEvent
{
public:
/**
diff --git a/src/events/selectionevent.h b/src/events/selectionevent.h
index 06d66cd04..51b0d4f70 100644
--- a/src/events/selectionevent.h
+++ b/src/events/selectionevent.h
@@ -75,7 +75,7 @@ class Widget;
*
* @author Olof Naessén
*/
-class SelectionEvent final: public Event
+class SelectionEvent final : public Event
{
public:
/**
diff --git a/src/gui/widgets/basiccontainer2.h b/src/gui/widgets/basiccontainer2.h
index 6090d4d82..d346db543 100644
--- a/src/gui/widgets/basiccontainer2.h
+++ b/src/gui/widgets/basiccontainer2.h
@@ -76,7 +76,7 @@
*
* @see Gui::setTop
*/
-class BasicContainer2: public BasicContainer
+class BasicContainer2 notfinal : public BasicContainer
{
public:
/**
diff --git a/src/resources/map/maplayer.h b/src/resources/map/maplayer.h
index 87ddb96ec..b0c814d59 100644
--- a/src/resources/map/maplayer.h
+++ b/src/resources/map/maplayer.h
@@ -45,7 +45,7 @@ struct MetaTile;
* A map layer. Stores a grid of tiles and their offset, and implements layer
* rendering.
*/
-class MapLayer final: public MemoryCounter, public ConfigListener
+class MapLayer final : public MemoryCounter, public ConfigListener
{
public:
friend class Map;