diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-17 02:42:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-17 02:42:24 +0300 |
commit | ad233d01f2c63dab29a0301209196dfd97856130 (patch) | |
tree | 5afb423c4fa8b7e0fff90d5f2e80a8663d8f38e8 /src/textcommand.h | |
parent | 477e52027f123fef9cc21cd1a66617913b8e1d47 (diff) | |
download | manaplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.gz manaplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.bz2 manaplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.xz manaplus-ad233d01f2c63dab29a0301209196dfd97856130.zip |
Fix compilation without C++11 again.
Diffstat (limited to 'src/textcommand.h')
-rw-r--r-- | src/textcommand.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/textcommand.h b/src/textcommand.h index cf7df586a..1b5bad71b 100644 --- a/src/textcommand.h +++ b/src/textcommand.h @@ -107,7 +107,7 @@ class TextCommand final unsigned getSchoolLvl() const A_WARN_UNUSED { return mSchoolLvl; } - TextCommandType getCommandType() const A_WARN_UNUSED + TextCommandTypeT getCommandType() const A_WARN_UNUSED { return mCommandType; } void setCommand(const std::string &command) @@ -140,7 +140,7 @@ class TextCommand final void setSchoolLvl(const unsigned int schoolLvl) { mSchoolLvl = schoolLvl; } - void setCommandType(const TextCommandType commandType) + void setCommandType(const TextCommandTypeT commandType) { mCommandType = commandType; } bool isEmpty() const A_WARN_UNUSED @@ -163,7 +163,7 @@ class TextCommand final MagicSchoolT mSchool; unsigned mBaseLvl; unsigned mSchoolLvl; - TextCommandType mCommandType; + TextCommandTypeT mCommandType; Image *mImage; }; |