diff options
author | Marc Laukien <marc@zeroc.com> | 2001-07-16 13:10:52 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-07-16 13:10:52 +0000 |
commit | 64ef7989113d953cc1bf27ceb3340c9b7047eeff (patch) | |
tree | 5a8d66c5e08e187c0bb8cd7cb51b2fb09b7d3172 /cpp/src | |
parent | more exception test stuff (diff) | |
download | ice-64ef7989113d953cc1bf27ceb3340c9b7047eeff.tar.bz2 ice-64ef7989113d953cc1bf27ceb3340c9b7047eeff.tar.xz ice-64ef7989113d953cc1bf27ceb3340c9b7047eeff.zip |
fixes
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 39039124f68..197a2d61ca1 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -1514,7 +1514,8 @@ Slice::Gen::ObjectVisitor::visitOperation(const Operation_ptr& p) C << nl << "catch(" << exceptionTypeToString(*r) << " __ex)"; C << sb; C << nl << "__os -> write(" << cnt++ << ");"; - if(Proxy_ptr::dynamicCast(*r)) + if(ClassDef_ptr::dynamicCast(*r) || + Proxy_ptr::dynamicCast(*r)) { string s = "static_cast< "; s += typeToString(*r); |