diff options
Diffstat (limited to 'TAO/performance-tests/Cubit/TAO/DII_Cubit/client.cpp')
-rw-r--r-- | TAO/performance-tests/Cubit/TAO/DII_Cubit/client.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/DII_Cubit/client.cpp b/TAO/performance-tests/Cubit/TAO/DII_Cubit/client.cpp index ace23784b6a..a8a5eacbceb 100644 --- a/TAO/performance-tests/Cubit/TAO/DII_Cubit/client.cpp +++ b/TAO/performance-tests/Cubit/TAO/DII_Cubit/client.cpp @@ -100,7 +100,7 @@ private: void (DII_Cubit_Client::*op_array_[NUMBER_OF_TESTS])(void); // Array of pointers to the operation functions. - static const char *stats_messages_[]; + static char *stats_messages_[]; // Array of labels for passing to print_stats. int argc_; @@ -172,7 +172,7 @@ DII_Cubit_Client::~DII_Cubit_Client (void) // An array of messages to pass to print_stats, so we can step through // this along with op_array_. -const char *DII_Cubit_Client::stats_messages_[] = +char *DII_Cubit_Client::stats_messages_[] = { "DII cube_short", "DII cube_octet", @@ -223,8 +223,7 @@ DII_Cubit_Client::init (int argc, char **argv) // make_cubit takes a char* arg that it doesn't use, but we must // still include it in the request. - CORBA::String dummy = ACE_const_cast (char *, - ""); + CORBA::String dummy = ""; mc_req->add_in_arg () <<= dummy; |