summaryrefslogtreecommitdiff
path: root/examples/C++NPv2
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2003-01-22 23:17:58 +0000
committerSteve Huston <shuston@riverace.com>2003-01-22 23:17:58 +0000
commit8df92a95100663a6bc0a681faca7742113aa9c84 (patch)
tree1cc2ee9e4c85b9b98ee454525b746d2f5fa6479c /examples/C++NPv2
parent93c74e8bbbbb31fc88001ee3edd3cb96e4be829a (diff)
downloadATCD-8df92a95100663a6bc0a681faca7742113aa9c84.tar.gz
ChangeLogTag:Wed Jan 22 18:12:41 2003 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'examples/C++NPv2')
-rw-r--r--examples/C++NPv2/Configurable_Logging_Server.cpp2
-rw-r--r--examples/C++NPv2/Service_Reporter.cpp4
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)