diff options
author | Benoit Foucher <benoit@zeroc.com> | 2012-10-29 12:21:53 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2012-10-29 12:21:53 +0100 |
commit | 881f18ef1ef829511f2002c08ed855f032184e6a (patch) | |
tree | c0a33e16c0df239e5af85ff489caa00e0eb82daa /cpp/src/slice2cpp/Gen.cpp | |
parent | More UMR fixes (diff) | |
download | ice-881f18ef1ef829511f2002c08ed855f032184e6a.tar.bz2 ice-881f18ef1ef829511f2002c08ed855f032184e6a.tar.xz ice-881f18ef1ef829511f2002c08ed855f032184e6a.zip |
Minor core, test and demo fixes
- Fixed C# value demo to use sliced format
- Fixed Ice core to throw NoObjectFactoryException/UnknownUserException instead
or MarshalException when compact format is used an no factory is found.
- Fixed minor unitialized memory reads.
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 7a93d08ebb4..6ba84c8e6b4 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -778,7 +778,7 @@ Slice::Gen::TypesVisitor::visitExceptionStart(const ExceptionPtr& p) emitUpcall(base, "(__file, __line)", true); if(p->hasDefaultValues()) { - C << nl << ", "; + C << ", "; writeDataMemberInitializers(C, dataMembers, _useWstring); } C.dec(); |