summaryrefslogtreecommitdiff
path: root/TAO/tao/Seq_VarOut_T.inl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Seq_VarOut_T.inl')
-rw-r--r--TAO/tao/Seq_VarOut_T.inl4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/Seq_VarOut_T.inl b/TAO/tao/Seq_VarOut_T.inl
index 09c4455f25a..5402cb95771 100644
--- a/TAO/tao/Seq_VarOut_T.inl
+++ b/TAO/tao/Seq_VarOut_T.inl
@@ -145,7 +145,7 @@ ACE_INLINE
T_elem &
TAO_FixedSeq_Var_T<T,T_elem>::operator[] (CORBA::ULong index)
{
- return this->ptr_->operator[] (index);
+ return (T_elem &) this->ptr_->operator[] (index);
}
template<typename T, typename T_elem>
@@ -153,7 +153,7 @@ ACE_INLINE
const T_elem &
TAO_FixedSeq_Var_T<T,T_elem>::operator[] (CORBA::ULong index) const
{
- return ACE_const_cast (const T_elem &, this->ptr_->operator[] (index));
+ return (const T_elem &) this->ptr_->operator[] (index));
}
// ***************************************************************