From 269ea5954ecbd28ccadc2acbda2cebc849062c29 Mon Sep 17 00:00:00 2001 From: Michi Henning Date: Thu, 22 May 2003 03:59:29 +0000 Subject: Changed the implementation of patchPointers (C++) and patchReferences (Java) to bring the two implementations more in line with each other. Added a missing newline to the C++ generated code for AMI. Added an ["ami"] directive to the slicing test for classes to force code generation for AMI. This ensures that the code is actually generated and compiled. --- cpp/src/slice2cpp/Gen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/slice2cpp/Gen.cpp') diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index f68bf9d8ae5..6a5de35ff21 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -3562,7 +3562,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p) writeUnmarshalCode(C, outParams, ret); if(p->returnsClasses()) { - C << "__is->readPendingObjects();"; + C << nl << "__is->readPendingObjects();"; } C << eb; C << nl << "catch(const ::Ice::Exception& __ex)"; -- cgit v1.2.3