summaryrefslogtreecommitdiff
path: root/TAO/tao/TypeCode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/TypeCode.cpp')
-rw-r--r--TAO/tao/TypeCode.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/TypeCode.cpp b/TAO/tao/TypeCode.cpp
index 831b3b0d7f1..65c7f503321 100644
--- a/TAO/tao/TypeCode.cpp
+++ b/TAO/tao/TypeCode.cpp
@@ -31,19 +31,19 @@ CORBA::TypeCode::equal (TypeCode_ptr tc
ACE_TRY
{
- char const * tc_id = tc->id (ACE_ENV_SINGLE_ARG_PARAMETER);
+ char const * const tc_id = tc->id (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
- char const * this_id = this->id (ACE_ENV_SINGLE_ARG_PARAMETER);
+ char const * const this_id = this->id (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
if (ACE_OS::strcmp (this_id, tc_id) != 0)
return 0;
- char const * tc_name = tc->name (ACE_ENV_SINGLE_ARG_PARAMETER);
+ char const * const tc_name = tc->name (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
- char const * this_name = this->name (ACE_ENV_SINGLE_ARG_PARAMETER);
+ char const * const this_name = this->name (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
if (ACE_OS::strcmp (this_name, tc_name) != 0)