summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-12-08 13:56:50 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-12-08 13:56:50 +0100
commita1188206863383faf958343299516625eb627d58 (patch)
tree79e9bb6af379fc4e4332191897c2ae20fa02a0bc /TAO/TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp
parentdfbe26383cee15ab6859137759b52e86c8888ffe (diff)
downloadATCD-a1188206863383faf958343299516625eb627d58.tar.gz
Remove redundant void from tao_idl generated code
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp b/TAO/TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp
index fe77c0de8c5..7d3ad3438e5 100644
--- a/TAO/TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_valuebox/union_member_ci.cpp
@@ -135,7 +135,7 @@ be_visitor_valuebox_union_member_ci::visit_array (be_array *node)
*os << "ACE_INLINE const " << fname << "_slice *" << be_nl
<< vb_node_->name () << "::" << field->local_name ()
- << " (void) const" << be_nl
+ << " () const" << be_nl
<< "{" << be_idt_nl
<< "return this->_pd_value->" << field->local_name ()
<< " ();" << be_uidt_nl