diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_valuetype/field_cs.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_valuetype/field_cs.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/field_cs.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/field_cs.cpp index afc9a49771f..a175e283d24 100644 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/field_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_valuetype/field_cs.cpp @@ -307,8 +307,9 @@ be_visitor_valuetype_field_cs::visit_interface (be_interface *node) *os << "this->" << bu->field_pd_prefix () << ub->local_name () - << bu->field_pd_postfix () - << " = " << bt->name () << "::_duplicate (val);" << be_uidt_nl; + << bu->field_pd_postfix () << " =" << be_idt_nl + << "TAO::Objref_Traits< ::" << bt->name () + << ">::duplicate (val);" << be_uidt << be_uidt_nl; *os << "}" << be_nl << be_nl; *os << "// Retrieve the member." << be_nl |