From ad233d01f2c63dab29a0301209196dfd97856130 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Nov 2015 02:42:24 +0300 Subject: Fix compilation without C++11 again. --- src/client.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/client.h') 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; -- cgit v1.2.3-70-g09d2