summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp')
-rw-r--r--TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp
index cf4b033491d..14818f46314 100644
--- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp
+++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp
@@ -120,7 +120,7 @@ Cubit_Client::func (u_int i)
// Reads the Cubit factory ior from a file
int
-Cubit_Client::read_ior (const char *filename)
+Cubit_Client::read_ior (char *filename)
{
// Open the file for reading.
this->f_handle_ = ACE_OS::open (filename,0);
@@ -765,7 +765,7 @@ Cubit_Client::cube_rti_data (int,
oumh.messagePayload[k] = Cubit::HandleValuePair ();
Cubit::HandleValuePair &hvp = oumh.messagePayload[k];
hvp.handle = k * k;
- const char *d1 = "somedata";
+ char *d1 = "somedata";
hvp.data.length (ACE_OS::strlen (d1)+1);
ACE_OS::strcpy ((char *) hvp.data.get_buffer (), d1);
}
@@ -1177,7 +1177,7 @@ Cubit_Client::~Cubit_Client (void)
int
-Cubit_Client::init (int argc, char **argv, const char *collocation_test_ior)
+Cubit_Client::init (int argc, char **argv, char *collocation_test_ior)
{
this->argc_ = argc;
this->argv_ = argv;