summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_interface_fwd/cdr_op_ch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_interface_fwd/cdr_op_ch.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_interface_fwd/cdr_op_ch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_interface_fwd/cdr_op_ch.cpp b/TAO/TAO_IDL/be/be_visitor_interface_fwd/cdr_op_ch.cpp
index ac208f83648..1d801f131bd 100644
--- a/TAO/TAO_IDL/be/be_visitor_interface_fwd/cdr_op_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_interface_fwd/cdr_op_ch.cpp
@@ -48,7 +48,7 @@ be_visitor_interface_fwd_cdr_op_ch::visit_interface_fwd (be_interface_fwd *node)
// the CDR operator declaration (along with the corresponding
// declarations for members of the interface's scope) will be
// generated then.
- if (fd->is_defined ())
+ if (fd->is_defined () || node->is_local ())
{
return 0;
}