summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2016-08-18 09:57:40 -0400
committerJoe George <joe@zeroc.com>2016-08-18 10:01:37 -0400
commit15ea84a8bc99ae98e9b0eb58bbdd9aa0f5607d6e (patch)
tree6c6e4891ca4a0fbf2305dc0ae01631933c4634db /cpp/src/slice2cpp
parentFixed PHP test failure (diff)
downloadice-15ea84a8bc99ae98e9b0eb58bbdd9aa0f5607d6e.tar.bz2
ice-15ea84a8bc99ae98e9b0eb58bbdd9aa0f5607d6e.tar.xz
ice-15ea84a8bc99ae98e9b0eb58bbdd9aa0f5607d6e.zip
Fix formatting issue in generated C++ code
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 457b6ad4d66..ad250e25430 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -2090,10 +2090,10 @@ Slice::Gen::ProxyVisitor::visitOperation(const OperationPtr& p)
string deprecateSymbol = getDeprecateSymbol(p, cl);
H << sp << nl << deprecateSymbol << _dllMemberExport << retS << ' ' << fixKwd(name) << spar << paramsDecl
<< "const ::Ice::Context& __ctx = ::Ice::noExplicitContext" << epar;
- H << sb;
+ H << sb << nl;
if(ret)
{
- H << nl << "return ";
+ H << "return ";
}
H << "end_" << name << spar << outParamNamesAMI << "__begin_" + name << spar << argsAMI;
H << "__ctx" << "::IceInternal::__dummyCallback" << "0" << "true" << epar << epar << ';';