diff options
author | Steve Huston <shuston@riverace.com> | 2003-01-22 23:17:58 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2003-01-22 23:17:58 +0000 |
commit | c05990e3f616ffc0805b3ccb4ae050dadbc32edb (patch) | |
tree | 1cc2ee9e4c85b9b98ee454525b746d2f5fa6479c /examples | |
parent | 7daea52113fd92b41aca84c3444fe016a31f984a (diff) | |
download | ATCD-c05990e3f616ffc0805b3ccb4ae050dadbc32edb.tar.gz |
ChangeLogTag:Wed Jan 22 18:12:41 2003 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/C++NPv2/Configurable_Logging_Server.cpp | 2 | ||||
-rw-r--r-- | examples/C++NPv2/Service_Reporter.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/C++NPv2/Configurable_Logging_Server.cpp b/examples/C++NPv2/Configurable_Logging_Server.cpp index 4d993116a17..7ba77999b42 100644 --- a/examples/C++NPv2/Configurable_Logging_Server.cpp +++ b/examples/C++NPv2/Configurable_Logging_Server.cpp @@ -10,7 +10,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { - ACE_STATIC_SVC_REGISTER (Reporter); + ACE_STATIC_SVC_REGISTER (Reporter_Descriptor); ACE_Service_Config::open (argc, argv, ACE_DEFAULT_LOGGER_KEY, 0); diff --git a/examples/C++NPv2/Service_Reporter.cpp b/examples/C++NPv2/Service_Reporter.cpp index 27d803fb14e..29ee35b2dc7 100644 --- a/examples/C++NPv2/Service_Reporter.cpp +++ b/examples/C++NPv2/Service_Reporter.cpp @@ -109,7 +109,7 @@ ACE_FACTORY_DEFINE (ACE_Local_Service, Service_Reporter) // Define the ACE_Static_Svc_Descriptor that conveys the service information // to the ACE_Service_Config. ACE_STATIC_SVC_DEFINE ( - Reporter, + Reporter_Descriptor, ACE_TEXT ("Service_Reporter"), ACE_SVC_OBJ_T, &ACE_SVC_NAME (Service_Reporter), @@ -120,4 +120,4 @@ ACE_STATIC_SVC_DEFINE ( // Define the class that will register this service with ACE_Service_Config // at program startup. -ACE_STATIC_SVC_REQUIRE (Reporter) +ACE_STATIC_SVC_REQUIRE (Reporter_Descriptor) |