summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/characterviewnormal.cpp2
-rw-r--r--src/gui/widgets/characterviewnormal.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/characterviewnormal.cpp b/src/gui/widgets/characterviewnormal.cpp
index 8d9e136c3..74cb0bdec 100644
--- a/src/gui/widgets/characterviewnormal.cpp
+++ b/src/gui/widgets/characterviewnormal.cpp
@@ -41,7 +41,7 @@ CharacterViewNormal::CharacterViewNormal(CharSelectDialog *const widget,
FOR_EACHP (std::vector<CharacterDisplay*>::iterator,
it, entries)
{
- CharacterDisplay *character = *it;
+ CharacterDisplay *const character = *it;
add(character);
character->setVisible(true);
}
diff --git a/src/gui/widgets/characterviewnormal.h b/src/gui/widgets/characterviewnormal.h
index f404223e6..d9b65d765 100644
--- a/src/gui/widgets/characterviewnormal.h
+++ b/src/gui/widgets/characterviewnormal.h
@@ -23,7 +23,7 @@
#include "gui/widgets/characterviewbase.h"
-#include "debug.h"
+#include "localconsts.h"
class CharacterViewNormal final : public CharacterViewBase
{
@@ -36,9 +36,9 @@ class CharacterViewNormal final : public CharacterViewBase
~CharacterViewNormal();
- void show(const int i);
+ void show(const int i) override;
- void resize();
+ void resize() override;
void action(const gcn::ActionEvent &event A_UNUSED) override;