summaryrefslogtreecommitdiff
path: root/ace/SString.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/SString.cpp')
-rw-r--r--ace/SString.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/ace/SString.cpp b/ace/SString.cpp
index 6c16c6b7697..1c03657398f 100644
--- a/ace/SString.cpp
+++ b/ace/SString.cpp
@@ -41,12 +41,7 @@ operator<< (ACE_OSTREAM_TYPE &os, const ACE_WString &ws)
{
// @@ Need to figure out how to print the "wide" string
// on platforms that don't support "wide" strings.
-#if defined (ACE_HAS_WCHAR)
- os << ACE_Wide_To_Ascii (ws.fast_rep ()).char_rep ();
-#else
- ACE_UNUSED_ARG (ws);
- os << "(*non-printable string*)";
-#endif
+ os << ACE_TEXT_TO_CHAR_IN (ws.fast_rep ());
return os;
}