summaryrefslogtreecommitdiff
path: root/TAO/tao/default_client.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-01 09:19:16 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-01 09:19:16 +0000
commit1af22123fb304cbf439f4faf5e353c3e83aa4622 (patch)
tree7f5fa586d2971b7b36f3fb3713413cf52fc161b8 /TAO/tao/default_client.cpp
parentce203ed9ad11651262b19e9134b1860d4c557326 (diff)
downloadATCD-1af22123fb304cbf439f4faf5e353c3e83aa4622.tar.gz
Enabled using TAO components as static services
Diffstat (limited to 'TAO/tao/default_client.cpp')
-rw-r--r--TAO/tao/default_client.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/TAO/tao/default_client.cpp b/TAO/tao/default_client.cpp
index e594e53dfb9..66d6d25e918 100644
--- a/TAO/tao/default_client.cpp
+++ b/TAO/tao/default_client.cpp
@@ -109,13 +109,11 @@ TAO_Default_Client_Strategy_Factory::create_client_creation_strategy (void)
return client_creation_strategy;
}
-#if defined (TAO_USES_STATIC_SERVICE) || defined (TAO_PLATFORM_SVC_CONF_FILE_NOTSUP)
ACE_STATIC_SVC_DEFINE (TAO_Default_Client_Strategy_Factory,
ASYS_TEXT ("Client_Strategy_Factory"),
ACE_SVC_OBJ_T,
&ACE_SVC_NAME (TAO_Default_Client_Strategy_Factory),
ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
0)
-#endif /* TAO_USES_STATIC_SERVICE || TAO_PLATFORM_SVC_CONF_FILE_NOTSUP */
-
+ACE_STATIC_SVC_REQUIRE (TAO_Default_Client_Strategy_Factory)
ACE_FACTORY_DEFINE (TAO, TAO_Default_Client_Strategy_Factory)