diff options
Diffstat (limited to 'TAO/tests/Bug_2356_Regression/client.cpp')
-rw-r--r-- | TAO/tests/Bug_2356_Regression/client.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tests/Bug_2356_Regression/client.cpp b/TAO/tests/Bug_2356_Regression/client.cpp index a6441e24e56..b57ce1c0573 100644 --- a/TAO/tests/Bug_2356_Regression/client.cpp +++ b/TAO/tests/Bug_2356_Regression/client.cpp @@ -91,10 +91,10 @@ public: ACE_OS::strlen(ex.whatDidTheRightThing.in()) * sizeof(CORBA::WChar) )); - CORBA::WChar* wstring = CORBA::wstring_dup(L"Hello world"); + CORBA::WChar const* wstring = L"Hello world"; #else - CORBA::WChar empty[] = { 0 }; - CORBA::WChar* wstring = CORBA::wstring_dup(empty); + CORBA::WChar const empty[] = { 0 }; + CORBA::WChar const* wstring = empty; #endif if (ACE_OS::strcmp (wstring, ex.whatDidTheRightThing.in()) != 0) { |