summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_2936_Regression/PersistentPOA.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Bug_2936_Regression/PersistentPOA.cpp')
-rw-r--r--TAO/tests/Bug_2936_Regression/PersistentPOA.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/TAO/tests/Bug_2936_Regression/PersistentPOA.cpp b/TAO/tests/Bug_2936_Regression/PersistentPOA.cpp
index 76b2887c39a..fef044a350d 100644
--- a/TAO/tests/Bug_2936_Regression/PersistentPOA.cpp
+++ b/TAO/tests/Bug_2936_Regression/PersistentPOA.cpp
@@ -9,9 +9,8 @@
#include "PersistentPOA.h"
#include "DllORB.h"
-const char *POAname_ = 0;
-const char *ORBname_ = 0;
-
+const ACE_TCHAR *POAname_ = 0;
+const ACE_TCHAR *ORBname_ = 0;
PersistentPoa::PersistentPoa ( )
{
@@ -75,7 +74,7 @@ int PersistentPoa::init (int argc, ACE_TCHAR *argv[])
policies[2] = mv_rootPOA->create_id_assignment_policy(PortableServer::USER_ID);
mv_thisPOA = mv_rootPOA->create_POA(
- POAname_,
+ ACE_TEXT_ALWAYS_CHAR(POAname_),
PortableServer::POAManager::_nil(),
policies
);