diff options
author | Michi Henning <michi@zeroc.com> | 2003-05-22 03:59:29 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2003-05-22 03:59:29 +0000 |
commit | 269ea5954ecbd28ccadc2acbda2cebc849062c29 (patch) | |
tree | 08539b8cd51370b5479f5aece59b3022cca0fbb3 /cpp/src/slice2cpp/Gen.cpp | |
parent | Minor fix (diff) | |
download | ice-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/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 2 |
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)"; |