summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;