summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/StateManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/client/StateManager.h')
-rw-r--r--cpp/src/qpid/client/StateManager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/client/StateManager.h b/cpp/src/qpid/client/StateManager.h
index fd0c1b7f86..2f8ecb772c 100644
--- a/cpp/src/qpid/client/StateManager.h
+++ b/cpp/src/qpid/client/StateManager.h
@@ -30,12 +30,12 @@ namespace client {
class StateManager
{
int state;
- sys::Monitor stateLock;
+ mutable sys::Monitor stateLock;
public:
StateManager(int initial);
void setState(int state);
- int getState();
+ int getState() const ;
void waitForStateChange(int current);
void waitFor(std::set<int> states);
void waitFor(int state);