diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-29 22:46:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-29 22:46:06 +0300 |
commit | e9b375927f271808d507c5a95443d460bbd6ce92 (patch) | |
tree | bc7df0276c727ae6a38632a154b4666127f30c39 | |
parent | 3411edb5d3ae07d247421e4b8f7936a22b7b4027 (diff) | |
download | manaverse-e9b375927f271808d507c5a95443d460bbd6ce92.tar.gz manaverse-e9b375927f271808d507c5a95443d460bbd6ce92.tar.bz2 manaverse-e9b375927f271808d507c5a95443d460bbd6ce92.tar.xz manaverse-e9b375927f271808d507c5a95443d460bbd6ce92.zip |
Fix compilation without C++11 flag.
-rw-r--r-- | src/being/playerinfo.h | 4 | ||||
-rw-r--r-- | src/gui/windows/statuswindow.h | 2 |
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; }; |