summaryrefslogtreecommitdiff
path: root/TAO/tests/Sequence_Unit_Tests/string_traits_base.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Sequence_Unit_Tests/string_traits_base.hpp')
-rw-r--r--TAO/tests/Sequence_Unit_Tests/string_traits_base.hpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/TAO/tests/Sequence_Unit_Tests/string_traits_base.hpp b/TAO/tests/Sequence_Unit_Tests/string_traits_base.hpp
index 1dacb6f09be..b6a1e0be936 100644
--- a/TAO/tests/Sequence_Unit_Tests/string_traits_base.hpp
+++ b/TAO/tests/Sequence_Unit_Tests/string_traits_base.hpp
@@ -14,8 +14,6 @@
#include "tao/CORBA_String.h"
#include "tao/Managed_Types.h"
-TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-
namespace TAO
{
namespace details
@@ -58,13 +56,8 @@ struct string_traits_base<CORBA::WChar>
inline static char_type * default_initializer()
{
-#if defined(ACE_HAS_WCHAR) || defined(ACE_HAS_XPG4_MULTIBYTE_CHAR)
- return CORBA::wstring_dup(L"");
-#else
-#warning "platform not configured with native wchar_t support"
- CORBA::WChar empty[] = { 0 };
+ static CORBA::WChar empty[] = { 0 };
return CORBA::wstring_dup(empty);
-#endif /* 0 */
}
inline static char_type * duplicate(char_type const * s)
@@ -81,5 +74,4 @@ struct string_traits_base<CORBA::WChar>
} // namespace details
} // namespace TAO
-TAO_END_VERSIONED_NAMESPACE_DECL
#endif // guard_string_traits_base_hpp