diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp index 761b7806411..71486b6ab5c 100644 --- a/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp +++ b/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp @@ -254,13 +254,20 @@ be_visitor_interface_ch::visit_interface (be_interface *node) if (! node->is_abstract ()) { *os << "// Private and unimplemented for concrete interfaces." << be_nl - << node->local_name () << " (const " - << node->local_name () << " &);" << be_nl_2; + << "ACE_UNIMPLEMENTED_FUNC (" << node->local_name () << " (const " + << node->local_name () << " &));" + << "\n#if defined (ACE_HAS_CPP11)" << be_nl + << "ACE_UNIMPLEMENTED_FUNC (" << node->local_name () << " (" + << node->local_name () << " &&));" + << "\n#endif /* ACE_HAS_CPP11 */" << be_nl; } - *os << "void operator= (const " << node->local_name () << " &);"; - - *os << be_uidt_nl + *os << "ACE_UNIMPLEMENTED_FUNC (" << node->local_name () + << " &operator= (const " << node->local_name () << " &));" + << "\n#if defined (ACE_HAS_CPP11)" << be_nl + << "ACE_UNIMPLEMENTED_FUNC (" << node->local_name () + << " &operator= (" << node->local_name () << " &&));" + << "\n#endif /* ACE_HAS_CPP11 */" << be_uidt_nl << "};"; be_visitor_context ctx (*this->ctx_); |