summaryrefslogtreecommitdiff
path: root/src/dyetool
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/dyetool
parent477e52027f123fef9cc21cd1a66617913b8e1d47 (diff)
downloadplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.gz
plus-ad233d01f2c63dab29a0301209196dfd97856130.tar.bz2
plus-ad233d01f2c63dab29a0301209196dfd97856130.tar.xz
plus-ad233d01f2c63dab29a0301209196dfd97856130.zip
Fix compilation without C++11 again.
Diffstat (limited to 'src/dyetool')
-rw-r--r--src/dyetool/client.h8
1 files changed, 4 insertions, 4 deletions
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;