summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-17 02:42:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-17 02:42:24 +0300
commitad233d01f2c63dab29a0301209196dfd97856130 (patch)
tree5afb423c4fa8b7e0fff90d5f2e80a8663d8f38e8 /src/client.h
parent477e52027f123fef9cc21cd1a66617913b8e1d47 (diff)
downloadmanaplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.gz
manaplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.bz2
manaplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.xz
manaplus-ad233d01f2c63dab29a0301209196dfd97856130.zip
Fix compilation without C++11 again.
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client.h b/src/client.h
index 95607ba08..8ffad378c 100644
--- a/src/client.h
+++ b/src/client.h
@@ -82,10 +82,10 @@ class Client final : public ConfigListener,
static int testsExec();
- void setState(const State state)
+ void setState(const StateT state)
{ mState = state; }
- State getState() const A_WARN_UNUSED
+ StateT getState() const A_WARN_UNUSED
{ return mState; }
static bool isTmw() A_WARN_UNUSED;
@@ -142,8 +142,8 @@ class Client final : public ConfigListener,
Button *mCloseButton;
#endif
- State mState;
- State mOldState;
+ StateT mState;
+ StateT mOldState;
Skin *mSkin;
int mButtonPadding;