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/dyetool/client.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/dyetool/client.h') diff --git a/src/dyetool/client.h b/src/dyetool/client.h index 40a72ef9d..5198d41b7 100644 --- a/src/dyetool/client.h +++ b/src/dyetool/client.h @@ -68,10 +68,10 @@ class Client final : public ActionListener 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; } void action(const ActionEvent &event) override final; @@ -108,8 +108,8 @@ class Client final : public ActionListener Button *mCloseButton; #endif - State mState; - State mOldState; + StateT mState; + StateT mOldState; Skin *mSkin; int mButtonPadding; -- cgit v1.2.3-60-g2f50