summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/EventHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/EventHandler.cpp')
-rw-r--r--cpp/src/Ice/EventHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/EventHandler.cpp b/cpp/src/Ice/EventHandler.cpp
index bb21abc7862..1e51aceaa10 100644
--- a/cpp/src/Ice/EventHandler.cpp
+++ b/cpp/src/Ice/EventHandler.cpp
@@ -26,7 +26,7 @@ void IceInternal::decRef(EventHandler* p) { p->__decRef(); }
IceInternal::EventHandler::EventHandler(const InstancePtr& instance) :
_instance(instance),
- _stream(_instance) // Must be _instance, and not instance, because BasicStream does not duplicate the instance!
+ _stream(_instance.get())
{
}