summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Proxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Proxy.cpp')
-rw-r--r--cpp/src/Ice/Proxy.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/Ice/Proxy.cpp b/cpp/src/Ice/Proxy.cpp
index 0636e65b353..a096a2a08cf 100644
--- a/cpp/src/Ice/Proxy.cpp
+++ b/cpp/src/Ice/Proxy.cpp
@@ -498,6 +498,7 @@ IceDelegateM::Ice::Object::~Object()
const EmitterPtr&
IceDelegateM::Ice::Object::__emitter()
{
+ assert(_emitter);
return _emitter;
}
@@ -559,4 +560,5 @@ IceDelegateM::Ice::Object::setup(const ReferencePtr& reference)
EmitterFactoryPtr factory = _reference->instance->emitterFactory();
_emitter = factory->create(endpoints);
+ assert(_emitter);
}