summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2018-10-10 15:48:49 +0200
committerBenoit Foucher <benoit@zeroc.com>2018-10-10 15:48:49 +0200
commit12aaa9e05a232a6fb59dcf260d8421839237828e (patch)
tree28de2f984abd84c0fda644aaf0ec5cc5004e1ece /cpp/src
parentEnable assertions when running Java tests (diff)
downloadice-12aaa9e05a232a6fb59dcf260d8421839237828e.tar.bz2
ice-12aaa9e05a232a6fb59dcf260d8421839237828e.tar.xz
ice-12aaa9e05a232a6fb59dcf260d8421839237828e.zip
Fixed missing new line in generated code, fixes #241
Diffstat (limited to 'cpp/src')
-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 04735a0a274..cf68c8cc12a 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -6075,7 +6075,7 @@ Slice::Gen::Cpp11DeclVisitor::visitClassDefStart(const ClassDefPtr& p)
if(p->compactId() >= 0)
{
string n = "iceC" + p->flattenedScope() + p->name() + "_compactIdInit ";
- C << "const ::IceInternal::CompactIdInit " << n << "(\"" << p->scoped() << "\", " << p->compactId()
+ C << nl << "const ::IceInternal::CompactIdInit " << n << "(\"" << p->scoped() << "\", " << p->compactId()
<< ");";
}
}