summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be
diff options
context:
space:
mode:
authorPhil Mesnier <mesnier_p@ociweb.com>2013-10-29 03:30:43 +0000
committerPhil Mesnier <mesnier_p@ociweb.com>2013-10-29 03:30:43 +0000
commit3ca320f7cde982b38c661c438771529810bed1c0 (patch)
tree71e86a34c4c160f935b462e66ed8ecb803661ad7 /TAO/TAO_IDL/be
parenta28f465ca4e03fe2e4bcd6f7a10be0e5b0650106 (diff)
downloadATCD-3ca320f7cde982b38c661c438771529810bed1c0.tar.gz
Tue Oct 29 03:24:14 UTC 2013 Phil Mesnier <mesnier_p@ociweb.com>
* TAO_IDL/be/be_visitor_operation/operation.cpp: Fix the output format. * tao/Valuetype/AbstractBase_Invocation_Adapter.h: * tao/Valuetype/AbstractBase_Invocation_Adapter.cpp: Add missing parameter.
Diffstat (limited to 'TAO/TAO_IDL/be')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/operation.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp
index 7e64f339b65..9b32efdb647 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/operation.cpp
@@ -295,10 +295,14 @@ be_visitor_operation::gen_stub_operation_body (
if (node->flags () == AST_Operation::OP_oneway)
{
*os << "," << be_nl;
- *os << "TAO::TAO_ONEWAY_INVOCATION" << be_nl;
+ *os << "TAO::TAO_ONEWAY_INVOCATION";
}
- if (!node->has_in_arguments ())
+ if (node->has_in_arguments ())
+ {
+ *os << be_nl;
+ }
+ else
{
if (node->flags () != AST_Operation::OP_oneway)
{