diff options
Diffstat (limited to 'ace/UNIX_Addr.inl')
-rw-r--r-- | ace/UNIX_Addr.inl | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ace/UNIX_Addr.inl b/ace/UNIX_Addr.inl index 34fa002ef34..4e9e369d8f0 100644 --- a/ace/UNIX_Addr.inl +++ b/ace/UNIX_Addr.inl @@ -10,21 +10,18 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -#if defined (ACE_HAS_WCHAR) -/// Creates an ACE_UNIX_Addr from a string. ACE_INLINE ACE_UNIX_Addr::ACE_UNIX_Addr (const wchar_t rendezvous_point[]) { - this->set (ACE_TEXT_ALWAYS_CHAR (rendezvous_point)); + this->set (rendezvous_point); } /// Creates an ACE_UNIX_Addr from a string. ACE_INLINE int ACE_UNIX_Addr::set (const wchar_t rendezvous_point[]) { - return this->set (ACE_TEXT_ALWAYS_CHAR (rendezvous_point)); + return this->set (ACE_TEXT_TO_CHAR_IN (rendezvous_point)); } -#endif /* ACE_HAS_WCHAR */ // Compare two addresses for equality. |