summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-29 22:46:06 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-29 22:46:06 +0300
commite9b375927f271808d507c5a95443d460bbd6ce92 (patch)
treebc7df0276c727ae6a38632a154b4666127f30c39
parent3411edb5d3ae07d247421e4b8f7936a22b7b4027 (diff)
downloadmv-e9b375927f271808d507c5a95443d460bbd6ce92.tar.gz
mv-e9b375927f271808d507c5a95443d460bbd6ce92.tar.bz2
mv-e9b375927f271808d507c5a95443d460bbd6ce92.tar.xz
mv-e9b375927f271808d507c5a95443d460bbd6ce92.zip
Fix compilation without C++11 flag.
-rw-r--r--src/being/playerinfo.h4
-rw-r--r--src/gui/windows/statuswindow.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/being/playerinfo.h b/src/being/playerinfo.h
index d16bd6474..cba86bd79 100644
--- a/src/being/playerinfo.h
+++ b/src/being/playerinfo.h
@@ -52,8 +52,8 @@ struct Stat final
};
typedef std::map<int, int> IntMap;
-typedef std::map<Attributes, int> AtrIntMap;
-typedef std::map<Attributes, Stat> StatMap;
+typedef std::map<AttributesT, int> AtrIntMap;
+typedef std::map<AttributesT, Stat> StatMap;
/**
* Backend for core player information.
diff --git a/src/gui/windows/statuswindow.h b/src/gui/windows/statuswindow.h
index 2ec0a778b..246c42a70 100644
--- a/src/gui/windows/statuswindow.h
+++ b/src/gui/windows/statuswindow.h
@@ -128,7 +128,7 @@ class StatusWindow final : public Window,
Label *mCorrectionPointsLabel;
Button *mCopyButton;
- typedef std::map<Attributes, AttrDisplay*> Attrs;
+ typedef std::map<AttributesT, AttrDisplay*> Attrs;
Attrs mAttrs;
};