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/client.h | |
parent | 477e52027f123fef9cc21cd1a66617913b8e1d47 (diff) | |
download | manaverse-ad233d01f2c63dab29a0301209196dfd97856130.tar.gz manaverse-ad233d01f2c63dab29a0301209196dfd97856130.tar.bz2 manaverse-ad233d01f2c63dab29a0301209196dfd97856130.tar.xz manaverse-ad233d01f2c63dab29a0301209196dfd97856130.zip |
Fix compilation without C++11 again.
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 8 |
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; |