diff options
author | Marc Laukien <marc@zeroc.com> | 2001-07-16 13:44:59 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-07-16 13:44:59 +0000 |
commit | b6ee90a582416a4078b18675a9e8f791d1d3c890 (patch) | |
tree | de6a6ba897e06c41a125e0593076b7120585ab78 /cpp/src/slice2cpp | |
parent | fixes (diff) | |
download | ice-b6ee90a582416a4078b18675a9e8f791d1d3c890.tar.bz2 ice-b6ee90a582416a4078b18675a9e8f791d1d3c890.tar.xz ice-b6ee90a582416a4078b18675a9e8f791d1d3c890.zip |
fixes
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 197a2d61ca1..93ff60c61b2 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -1514,11 +1514,11 @@ Slice::Gen::ObjectVisitor::visitOperation(const Operation_ptr& p) C << nl << "catch(" << exceptionTypeToString(*r) << " __ex)"; C << sb; C << nl << "__os -> write(" << cnt++ << ");"; - if(ClassDef_ptr::dynamicCast(*r) || + if(ClassDecl_ptr::dynamicCast(*r) || Proxy_ptr::dynamicCast(*r)) { string s = "static_cast< "; - s += typeToString(*r); + s += inputTypeToString(*r); s += ">(__ex)"; writeMarshalUnmarshalCode(C, *r, s, true); } |