summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/StateManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/client/StateManager.cpp')
-rw-r--r--cpp/src/qpid/client/StateManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/StateManager.cpp b/cpp/src/qpid/client/StateManager.cpp
index b72967c098..0cb3c6b9d4 100644
--- a/cpp/src/qpid/client/StateManager.cpp
+++ b/cpp/src/qpid/client/StateManager.cpp
@@ -60,7 +60,7 @@ void StateManager::setState(int s)
stateLock.notifyAll();
}
-int StateManager::getState()
+int StateManager::getState() const
{
Monitor::ScopedLock l(stateLock);
return state;