diff options
Diffstat (limited to 'cpp/src/Transform/TransformUtil.cpp')
-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(); + } } } |