summaryrefslogtreecommitdiff
path: root/netsvcs
diff options
context:
space:
mode:
Diffstat (limited to 'netsvcs')
-rw-r--r--netsvcs/lib/Server_Logging_Handler_T.cpp2
-rw-r--r--netsvcs/lib/Server_Logging_Handler_T.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/netsvcs/lib/Server_Logging_Handler_T.cpp b/netsvcs/lib/Server_Logging_Handler_T.cpp
index abb2d82affb..042f1dcf0aa 100644
--- a/netsvcs/lib/Server_Logging_Handler_T.cpp
+++ b/netsvcs/lib/Server_Logging_Handler_T.cpp
@@ -31,7 +31,7 @@ ACE_Server_Logging_Handler_T<ACE_PEER_STREAM_2, COUNTER, ACE_SYNCH_USE, LMR>::AC
// Initialize the CString to something that is not the empty string
// to avoid problems when calling fast_rep()
#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__)
- : receiver_ (receiver, ACE_CString (" ", 1))
+ : receiver_ (receiver, ACE_TString (ACE_TEXT(" "), 1))
#else
: receiver_ (receiver),
host_name_ (ACE_TString (ACE_TEXT (" "), 1))
diff --git a/netsvcs/lib/Server_Logging_Handler_T.h b/netsvcs/lib/Server_Logging_Handler_T.h
index 4cf1a5d3fbc..2bd8942093c 100644
--- a/netsvcs/lib/Server_Logging_Handler_T.h
+++ b/netsvcs/lib/Server_Logging_Handler_T.h
@@ -70,7 +70,7 @@ protected:
#endif /* ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES */
#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__)
- Base_Optimizer<LOG_MESSAGE_RECEIVER, ACE_CString> receiver_;
+ Base_Optimizer<LOG_MESSAGE_RECEIVER, ACE_TString> receiver_;
// Packs a LOG_MESSAGE_RECEIVER and ACE_CString attribute together
// in a optimized fashion. The LOG_MESSAGE_RECEIVER class is often
// a class with no instance data.