summaryrefslogtreecommitdiff
path: root/TAO/examples/Kokyu_dsrt_schedulers/FP_Scheduler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Kokyu_dsrt_schedulers/FP_Scheduler.cpp')
-rw-r--r--TAO/examples/Kokyu_dsrt_schedulers/FP_Scheduler.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/TAO/examples/Kokyu_dsrt_schedulers/FP_Scheduler.cpp b/TAO/examples/Kokyu_dsrt_schedulers/FP_Scheduler.cpp
index be451cd3e18..92039e6c7b1 100644
--- a/TAO/examples/Kokyu_dsrt_schedulers/FP_Scheduler.cpp
+++ b/TAO/examples/Kokyu_dsrt_schedulers/FP_Scheduler.cpp
@@ -334,8 +334,7 @@ Fixed_Priority_Scheduler::send_request (PortableInterceptor::ClientRequestInfo_p
sc_qos_as_any <<= sc_qos;
sc.context_data =
- ACE_reinterpret_cast (CORBA::OctetSeq &,
- *codec_->encode (sc_qos_as_any));
+ reinterpret_cast<CORBA::OctetSeq &> (*codec_->encode (sc_qos_as_any));
#ifdef KOKYU_DSRT_LOGGING
ACE_DEBUG ((LM_DEBUG,
@@ -514,8 +513,7 @@ Fixed_Priority_Scheduler::send_reply (PortableInterceptor::ServerRequestInfo_ptr
CORBA::Any sc_qos_as_any;
sc_qos_as_any <<= sc_qos;
- sc.context_data = ACE_reinterpret_cast(CORBA::OctetSeq &,
- *codec_->encode (sc_qos_as_any));
+ sc.context_data = reinterpret_cast<CORBA::OctetSeq &> (*codec_->encode (sc_qos_as_any));
// Add this context to the service context list.
ri->add_reply_service_context (sc, 1 ACE_ENV_ARG_PARAMETER);