summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_operation/operation_sh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_operation/operation_sh.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/operation_sh.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation_sh.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation_sh.cpp
index 05bca9d22d2..d9401665d1d 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/operation_sh.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/operation_sh.cpp
@@ -119,8 +119,8 @@ be_visitor_operation_sh::visit_operation (be_operation *node)
delete visitor;
// generate the corresponding static skeleton method for this operation only
- // if there was no "native" type
- if (!node->has_native ())
+ // if there was no "native" type and the interface is not locality constraint.
+ if (!node->has_native () && !idl_global->gen_locality_constraint ())
{
os->indent ();
*os << "static void ";