summaryrefslogtreecommitdiff
path: root/cpp/src/IceStorm/TopicI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceStorm/TopicI.cpp')
-rw-r--r--cpp/src/IceStorm/TopicI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceStorm/TopicI.cpp b/cpp/src/IceStorm/TopicI.cpp
index 5e71fbdd887..45a4aa61872 100644
--- a/cpp/src/IceStorm/TopicI.cpp
+++ b/cpp/src/IceStorm/TopicI.cpp
@@ -239,7 +239,7 @@ private:
//
// Set of subscribers that encountered an error.
//
- mutable IceUtil::Mutex _errorMutex;
+ IceUtil::Mutex _errorMutex;
mutable SubscriberList _error;
};
@@ -513,7 +513,7 @@ TopicI::getLinkProxy(const Ice::Current&)
bool
TopicI::destroyed() const
{
- IceUtil::RecMutex::ConstLock sync(*this);
+ IceUtil::RecMutex::Lock sync(*this);
return _destroyed;
}