summaryrefslogtreecommitdiff
path: root/src/gui/npcdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/npcdialog.cpp')
-rw-r--r--src/gui/npcdialog.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp
index 4efa29eb..8150a01a 100644
--- a/src/gui/npcdialog.cpp
+++ b/src/gui/npcdialog.cpp
@@ -51,8 +51,6 @@
#define CAPTION_CLOSE _("Close")
#define CAPTION_SUBMIT _("Submit")
-using NpcDialogs = std::map<int, NpcDialog *>;
-
class NpcEventListener : public EventListener
{
public:
@@ -63,7 +61,7 @@ public:
void removeDialog(int id);
private:
- NpcDialogs mNpcDialogs;
+ std::map<int, NpcDialog *> mNpcDialogs;
};
static NpcEventListener *npcListener = nullptr;