summaryrefslogtreecommitdiff
path: root/TAO/examples/Simple/Simple_util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Simple/Simple_util.cpp')
-rw-r--r--TAO/examples/Simple/Simple_util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/examples/Simple/Simple_util.cpp b/TAO/examples/Simple/Simple_util.cpp
index e4aea7df2bc..ebbedd84389 100644
--- a/TAO/examples/Simple/Simple_util.cpp
+++ b/TAO/examples/Simple/Simple_util.cpp
@@ -414,7 +414,7 @@ Client<INTERFACE_OBJECT, Var>::init (const char *name,
// No IOR specified. Use the Naming Service
ACE_DEBUG((LM_DEBUG,
"Using the Naming Service \n"));
- this->name_ = ACE_const_cast (char *, name);
+ this->name_ = const_cast<char *> (name);
int retv = this->obtain_initial_references (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
if (retv ==-1)