From b6ee90a582416a4078b18675a9e8f791d1d3c890 Mon Sep 17 00:00:00 2001 From: Marc Laukien Date: Mon, 16 Jul 2001 13:44:59 +0000 Subject: fixes --- cpp/src/slice2cpp/Gen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/slice2cpp/Gen.cpp') 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); } -- cgit v1.2.3