summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2003-11-21 00:16:13 +0000
committerMark Spruiell <mes@zeroc.com>2003-11-21 00:16:13 +0000
commit3a90a8c37c86ebb02402c1c2070ffb260ada8636 (patch)
tree0051e447328d7c44ebbf1ef135a10e9fea205b89 /cpp
parentanother output fix for proxy (diff)
downloadice-3a90a8c37c86ebb02402c1c2070ffb260ada8636.tar.bz2
ice-3a90a8c37c86ebb02402c1c2070ffb260ada8636.tar.xz
ice-3a90a8c37c86ebb02402c1c2070ffb260ada8636.zip
add missing newline
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp4
-rw-r--r--cpp/src/slice2java/Gen.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 697e9846794..7566805d9b6 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -1198,7 +1198,7 @@ Slice::Gen::ProxyVisitor::visitOperation(const OperationPtr& p)
C << sb;
if(p->returnsData())
{
- C << "__checkTwowayOnly(\"" << p->name() << "\");";
+ C << nl << "__checkTwowayOnly(\"" << p->name() << "\");";
}
C << nl << "::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase = __getDelegate();";
C << nl << "::IceDelegate" << thisPointer << " __del = dynamic_cast< ::IceDelegate"
@@ -1259,7 +1259,7 @@ Slice::Gen::ProxyVisitor::visitOperation(const OperationPtr& p)
C << sb;
if(p->returnsData())
{
- C << "__checkTwowayOnly(\"" << p->name() << "\");";
+ C << nl << "__checkTwowayOnly(\"" << p->name() << "\");";
}
C << nl << "::IceInternal::Handle< ::IceDelegate::Ice::Object> __delBase = __getDelegate();";
C << nl << "::IceDelegate" << thisPointer << " __del = dynamic_cast< ::IceDelegate"
diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp
index cfb70dd5c8f..ef533a1b235 100644
--- a/cpp/src/slice2java/Gen.cpp
+++ b/cpp/src/slice2java/Gen.cpp
@@ -2293,7 +2293,7 @@ Slice::Gen::HelperVisitor::visitClassDefStart(const ClassDefPtr& p)
out << sb;
if(op->returnsData())
{
- out << "__checkTwowayOnly(\"" << opName << "\");";
+ out << nl << "__checkTwowayOnly(\"" << opName << "\");";
}
out << nl << "Ice._ObjectDel __delBase = __getDelegate();";
out << nl << '_' << name << "Del __del = (_" << name << "Del)__delBase;";
@@ -2356,7 +2356,7 @@ Slice::Gen::HelperVisitor::visitClassDefStart(const ClassDefPtr& p)
out << sb;
if(op->returnsData())
{
- out << "__checkTwowayOnly(\"" << opName << "\");";
+ out << nl << "__checkTwowayOnly(\"" << opName << "\");";
}
out << nl << "Ice._ObjectDel __delBase = __getDelegate();";
out << nl << '_' << name << "Del __del = (_" << name