summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ORB.i')
-rw-r--r--TAO/tao/ORB.i4
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/tao/ORB.i b/TAO/tao/ORB.i
index fd23f45a8ec..0304bf97567 100644
--- a/TAO/tao/ORB.i
+++ b/TAO/tao/ORB.i
@@ -315,6 +315,7 @@ CORBA_ORB::orb_core (void) const
return this->orb_core_;
}
+#if defined (TAO_HAS_INTERCEPTORS)
ACE_INLINE PortableInterceptor::ClientRequestInterceptor_ptr
CORBA_ORB::_register_client_interceptor
(PortableInterceptor::ClientRequestInterceptor_ptr ci,
@@ -357,11 +358,12 @@ CORBA_ORB::_get_client_interceptor (CORBA_Environment &)
}
ACE_INLINE PortableInterceptor::ServerRequestInterceptor_ptr
-CORBA_ORB::_get_server_interceptor (CORBA_Environment &)
+CORBA_ORB::_get_server_interceptor (CORBA_Environment &ACE_TRY_ENV)
{
return
PortableInterceptor::ServerRequestInterceptor::_duplicate (this->server_interceptor_);
}
+#endif /* TAO_HAS_INTERCEPTORS */
// ************************************************************
// These are in CORBA namespace