diff options
Diffstat (limited to 'TAO/tao/Messaging/Messaging_ORBInitializer.cpp')
-rw-r--r-- | TAO/tao/Messaging/Messaging_ORBInitializer.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/TAO/tao/Messaging/Messaging_ORBInitializer.cpp b/TAO/tao/Messaging/Messaging_ORBInitializer.cpp index d2bc635f550..59c8194037f 100644 --- a/TAO/tao/Messaging/Messaging_ORBInitializer.cpp +++ b/TAO/tao/Messaging/Messaging_ORBInitializer.cpp @@ -21,8 +21,7 @@ TAO_Messaging_ORBInitializer::pre_init (PortableInterceptor::ORBInitInfo_ptr) ACE_THROW_SPEC ((CORBA::SystemException)) { #if (TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY == 1) - TAO_ORB_Core::set_timeout_hook - (TAO_RelativeRoundtripTimeoutPolicy::hook); + TAO_ORB_Core::set_timeout_hook (TAO_RelativeRoundtripTimeoutPolicy::hook); #endif /* TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY == 1 */ #if (TAO_HAS_SYNC_SCOPE_POLICY == 1) @@ -30,8 +29,7 @@ TAO_Messaging_ORBInitializer::pre_init (PortableInterceptor::ORBInitInfo_ptr) #endif /* TAO_HAS_SYNC_SCOPE_POLICY == 1 */ #if (TAO_HAS_CONNECTION_TIMEOUT_POLICY == 1) - TAO_ORB_Core::connection_timeout_hook - (TAO_ConnectionTimeoutPolicy::hook); + TAO_ORB_Core::connection_timeout_hook (TAO_ConnectionTimeoutPolicy::hook); #endif /* TAO_HAS_CONNECTION_TIMEOUT_POLICY == 1 */ } |