diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-03 11:09:51 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-03 11:09:51 +0000 |
commit | 06ad7cf9ccba123fd26af77cc04f974be2171613 (patch) | |
tree | 89d11721d49b1eebfb510f012c4247bb2cf54b8a /TAO/examples/Logging | |
parent | c2461fc660890fa88be363dbd4ff7aadf9043ae6 (diff) | |
download | ATCD-06ad7cf9ccba123fd26af77cc04f974be2171613.tar.gz |
Fri Oct 3 11:08:45 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/examples/Logging')
-rw-r--r-- | TAO/examples/Logging/Logger_i.cpp | 2 | ||||
-rw-r--r-- | TAO/examples/Logging/Logging_Service_i.cpp | 2 | ||||
-rw-r--r-- | TAO/examples/Logging/Logging_Service_i.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/TAO/examples/Logging/Logger_i.cpp b/TAO/examples/Logging/Logger_i.cpp index 58d9e384606..7fe7a04a76c 100644 --- a/TAO/examples/Logging/Logger_i.cpp +++ b/TAO/examples/Logging/Logger_i.cpp @@ -142,7 +142,7 @@ Logger_i::logv (const Logger::Log_Record &log_rec, ACE_TCHAR msgbuf [ACE_MAXLOGMSGLEN + 4]; // Format the message for proper display. - ACE_OS::strcpy (msgbuf, "::"); + ACE_OS::strcpy (msgbuf, ACE_TEXT("::")); // Copy the message data into the temporary buffer ACE_OS::strncat (msgbuf, diff --git a/TAO/examples/Logging/Logging_Service_i.cpp b/TAO/examples/Logging/Logging_Service_i.cpp index 95d4dff9ab7..ad35b282a65 100644 --- a/TAO/examples/Logging/Logging_Service_i.cpp +++ b/TAO/examples/Logging/Logging_Service_i.cpp @@ -6,7 +6,7 @@ ACE_RCSID(Logging_Service, Logging_Service_i, "$Id$") Logger_Server::Logger_Server (void) - :service_name_ (const_cast<char *> ("LoggingService")) + :service_name_ (ACE_TEXT("LoggingService")) { // Do nothing } diff --git a/TAO/examples/Logging/Logging_Service_i.h b/TAO/examples/Logging/Logging_Service_i.h index 6b9c07532f0..c30a6eb342b 100644 --- a/TAO/examples/Logging/Logging_Service_i.h +++ b/TAO/examples/Logging/Logging_Service_i.h @@ -93,7 +93,7 @@ private: ACE_TCHAR **argv_; // commandline arguments. - char* service_name_; + const ACE_TCHAR* service_name_; // The id to give the Logger_Factory instance (defaults to // "LoggingService") }; |