diff options
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 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; } |