summaryrefslogtreecommitdiff
path: root/TAO/examples/RTCORBA
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/RTCORBA')
-rw-r--r--TAO/examples/RTCORBA/Activity/Activity.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/TAO/examples/RTCORBA/Activity/Activity.cpp b/TAO/examples/RTCORBA/Activity/Activity.cpp
index 73a4eeb00fd..1d9a3966392 100644
--- a/TAO/examples/RTCORBA/Activity/Activity.cpp
+++ b/TAO/examples/RTCORBA/Activity/Activity.cpp
@@ -198,8 +198,7 @@ Activity::activate_job_list (ACE_ENV_SINGLE_ARG_DECL)
const ACE_CString &job_name = job->name ();
CosNaming::Name_var name =
- this->naming_->to_name (ACE_const_cast (const CosNaming::NamingContextExt::StringName,
- job_name.c_str ())
+ this->naming_->to_name (job_name.c_str ()
ACE_ENV_ARG_PARAMETER);
ACE_CHECK;