summaryrefslogtreecommitdiff
path: root/src/gui/npcpostdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/npcpostdialog.h')
-rw-r--r--src/gui/npcpostdialog.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/npcpostdialog.h b/src/gui/npcpostdialog.h
index cda44a66..61c17ca6 100644
--- a/src/gui/npcpostdialog.h
+++ b/src/gui/npcpostdialog.h
@@ -34,14 +34,14 @@ class NpcPostDialog : public Window, public gcn::ActionListener
public:
NpcPostDialog(int npcId);
- ~NpcPostDialog();
+ ~NpcPostDialog() override;
/**
* Called when receiving actions from the widgets.
*/
- void action(const gcn::ActionEvent &event);
+ void action(const gcn::ActionEvent &event) override;
- void setVisible(bool visible);
+ void setVisible(bool visible) override;
/**
* Closes all instances.
@@ -49,7 +49,7 @@ public:
static void closeAll();
private:
- typedef std::list<NpcPostDialog*> DialogList;
+ using DialogList = std::list<NpcPostDialog *>;
static DialogList instances;
int mNpcId;