summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-23 22:00:27 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:16 +0300
commitc2a7004213529c403faeb6fdcc374699aa2f53b5 (patch)
treef5701ef3412923bc0e5e033033bd52960d66acc3 /src/client.h
parente8a4474319aca4a32869fa1ebb8b5ebbd98237f6 (diff)
downloadmv-c2a7004213529c403faeb6fdcc374699aa2f53b5.tar.gz
mv-c2a7004213529c403faeb6fdcc374699aa2f53b5.tar.bz2
mv-c2a7004213529c403faeb6fdcc374699aa2f53b5.tar.xz
mv-c2a7004213529c403faeb6fdcc374699aa2f53b5.zip
improve getState/setState in Client.
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 a4d7a288c..73d4ae28b 100644
--- a/src/client.h
+++ b/src/client.h
@@ -232,11 +232,11 @@ public:
int testsExec() const;
- static void setState(const State state)
- { instance()->mState = state; }
+ void setState(const State state)
+ { mState = state; }
- static State getState() A_WARN_UNUSED
- { return instance()->mState; }
+ State getState() A_WARN_UNUSED
+ { return mState; }
static const std::string &getPackageDirectory() A_WARN_UNUSED
{ return instance()->mPackageDir; }