diff options
author | Mark Spruiell <mes@zeroc.com> | 2003-11-19 23:40:58 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2003-11-19 23:40:58 +0000 |
commit | 0fba7183fdc07d4c056ed5f175ddcbb60923f1fc (patch) | |
tree | 50e03f621dc527beec101bce283edd00bacdb52a /cpp/src | |
parent | mistakenly emitted <transform> instead of <init> for new sequence types (diff) | |
download | ice-0fba7183fdc07d4c056ed5f175ddcbb60923f1fc.tar.bz2 ice-0fba7183fdc07d4c056ed5f175ddcbb60923f1fc.tar.xz ice-0fba7183fdc07d4c056ed5f175ddcbb60923f1fc.zip |
bug fix - watch for proxy types
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Transform/TransformUtil.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/cpp/src/Transform/TransformUtil.cpp b/cpp/src/Transform/TransformUtil.cpp index e2f835115a3..e6109a8723c 100644 --- a/cpp/src/Transform/TransformUtil.cpp +++ b/cpp/src/Transform/TransformUtil.cpp @@ -27,7 +27,15 @@ Transform::typeName(const Slice::TypePtr& type) else { Slice::ContainedPtr c = Slice::ContainedPtr::dynamicCast(type); - assert(c); - return c->scoped(); + if(!c) + { + Slice::ProxyPtr p = Slice::ProxyPtr::dynamicCast(type); + c = p->_class(); + return c->scoped() + "*"; + } + else + { + return c->scoped(); + } } } |