summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2003-05-22 03:59:29 +0000
committerMichi Henning <michi@zeroc.com>2003-05-22 03:59:29 +0000
commit269ea5954ecbd28ccadc2acbda2cebc849062c29 (patch)
tree08539b8cd51370b5479f5aece59b3022cca0fbb3 /cpp/src/slice2cpp
parentMinor fix (diff)
downloadice-269ea5954ecbd28ccadc2acbda2cebc849062c29.tar.bz2
ice-269ea5954ecbd28ccadc2acbda2cebc849062c29.tar.xz
ice-269ea5954ecbd28ccadc2acbda2cebc849062c29.zip
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.
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp2
1 files changed, 1 insertions, 1 deletions
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)";