diff options
Diffstat (limited to 'cpp/src/qpid/broker/SessionManager.cpp')
-rw-r--r-- | cpp/src/qpid/broker/SessionManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SessionManager.cpp b/cpp/src/qpid/broker/SessionManager.cpp index 3466882a48..69ef29c3eb 100644 --- a/cpp/src/qpid/broker/SessionManager.cpp +++ b/cpp/src/qpid/broker/SessionManager.cpp @@ -74,7 +74,7 @@ void SessionManager::detach(std::auto_ptr<SessionState> session) { session->detach(); if (session->getTimeout() > 0) { session->expiry = AbsTime(now(),session->getTimeout()*TIME_SEC); - if (session->mgmtObject.get() != 0) + if (session->mgmtObject != 0) session->mgmtObject->set_expireTime ((uint64_t) Duration (session->expiry)); detached.push_back(session.release()); // In expiry order eraseExpired(); |