summaryrefslogtreecommitdiff
path: root/ace/Service_Config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Service_Config.cpp')
-rw-r--r--ace/Service_Config.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ace/Service_Config.cpp b/ace/Service_Config.cpp
index 4fa2a25cec1..442ae796a0d 100644
--- a/ace/Service_Config.cpp
+++ b/ace/Service_Config.cpp
@@ -109,6 +109,7 @@ ACE_STATIC_SVC_DEFINE (ACE_Service_Manager,
"ACE_Service_Manager", ACE_SVC_OBJ_T, &ACE_SVC_NAME (ACE_Service_Manager),
ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ, 0)
+// Add this to the list of statically configured services.
ACE_STATIC_SVC_REQUIRE (ACE_Service_Manager)
// List of statically configured services.
@@ -118,8 +119,6 @@ ACE_Service_Config::static_svcs (void)
{
static ACE_STATIC_SVCS *instance_ = 0;
- // Add other default services here if you'd like.
-
if (instance_ == 0)
ACE_NEW_RETURN (instance_, ACE_STATIC_SVCS, 0);