diff options
Diffstat (limited to 'TAO/tao/Strategies/uiop_endpoints.i')
-rw-r--r-- | TAO/tao/Strategies/uiop_endpoints.i | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/TAO/tao/Strategies/uiop_endpoints.i b/TAO/tao/Strategies/uiop_endpoints.i index 9468dd21950..17eab0cb467 100644 --- a/TAO/tao/Strategies/uiop_endpoints.i +++ b/TAO/tao/Strategies/uiop_endpoints.i @@ -58,7 +58,7 @@ if (rhs.buffer_ != 0) { TAO_UIOP_Endpoint_Info *tmp1 = _TAO_Unbounded_Sequence_TAO_UIOPEndpointSequence::allocbuf (this->maximum_); - TAO_UIOP_Endpoint_Info * const tmp2 = ACE_reinterpret_cast (TAO_UIOP_Endpoint_Info * ACE_CAST_CONST, rhs.buffer_); + TAO_UIOP_Endpoint_Info * const tmp2 = reinterpret_cast<TAO_UIOP_Endpoint_Info * ACE_CAST_CONST> (rhs.buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) tmp1[i] = tmp2[i]; @@ -83,7 +83,7 @@ if (this->maximum_ < rhs.maximum_) { // free the old buffer - TAO_UIOP_Endpoint_Info *tmp = ACE_reinterpret_cast (TAO_UIOP_Endpoint_Info *, this->buffer_); + TAO_UIOP_Endpoint_Info *tmp = reinterpret_cast<TAO_UIOP_Endpoint_Info *> (this->buffer_); _TAO_Unbounded_Sequence_TAO_UIOPEndpointSequence::freebuf (tmp); this->buffer_ = _TAO_Unbounded_Sequence_TAO_UIOPEndpointSequence::allocbuf (rhs.maximum_); } @@ -93,8 +93,8 @@ TAO_Unbounded_Base_Sequence::operator= (rhs); - TAO_UIOP_Endpoint_Info *tmp1 = ACE_reinterpret_cast (TAO_UIOP_Endpoint_Info *, this->buffer_); - TAO_UIOP_Endpoint_Info * const tmp2 = ACE_reinterpret_cast (TAO_UIOP_Endpoint_Info * ACE_CAST_CONST, rhs.buffer_); + TAO_UIOP_Endpoint_Info *tmp1 = reinterpret_cast<TAO_UIOP_Endpoint_Info *> (this->buffer_); + TAO_UIOP_Endpoint_Info * const tmp2 = reinterpret_cast<TAO_UIOP_Endpoint_Info * ACE_CAST_CONST> (rhs.buffer_); for (CORBA::ULong i = 0; i < this->length_; ++i) tmp1[i] = tmp2[i]; @@ -108,7 +108,7 @@ // operator [] { ACE_ASSERT (i < this->maximum_); - TAO_UIOP_Endpoint_Info* tmp = ACE_reinterpret_cast(TAO_UIOP_Endpoint_Info*,this->buffer_); + TAO_UIOP_Endpoint_Info* tmp = reinterpret_cast<TAO_UIOP_Endpoint_Info*> (this->buffer_); return tmp[i]; } @@ -117,7 +117,7 @@ // operator [] { ACE_ASSERT (i < this->maximum_); - TAO_UIOP_Endpoint_Info * const tmp = ACE_reinterpret_cast (TAO_UIOP_Endpoint_Info* ACE_CAST_CONST, this->buffer_); + TAO_UIOP_Endpoint_Info * const tmp = reinterpret_cast<TAO_UIOP_Endpoint_Info* ACE_CAST_CONST> (this->buffer_); return tmp[i]; } @@ -138,7 +138,7 @@ } else { - result = ACE_reinterpret_cast (TAO_UIOP_Endpoint_Info*, this->buffer_); + result = reinterpret_cast<TAO_UIOP_Endpoint_Info*> (this->buffer_); } } else // if (orphan == 1) @@ -147,7 +147,7 @@ { // We set the state back to default and relinquish // ownership. - result = ACE_reinterpret_cast(TAO_UIOP_Endpoint_Info*,this->buffer_); + result = reinterpret_cast<TAO_UIOP_Endpoint_Info*> (this->buffer_); this->maximum_ = 0; this->length_ = 0; this->buffer_ = 0; @@ -160,7 +160,7 @@ ACE_INLINE const TAO_UIOP_Endpoint_Info * _TAO_Unbounded_Sequence_TAO_UIOPEndpointSequence::get_buffer (void) const { - return ACE_reinterpret_cast(const TAO_UIOP_Endpoint_Info * ACE_CAST_CONST, this->buffer_); + return reinterpret_cast<const TAO_UIOP_Endpoint_Info * ACE_CAST_CONST> (this->buffer_); } ACE_INLINE void @@ -173,7 +173,7 @@ this->length_ = length; if (this->buffer_ && this->release_ == 1) { - TAO_UIOP_Endpoint_Info *tmp = ACE_reinterpret_cast(TAO_UIOP_Endpoint_Info*,this->buffer_); + TAO_UIOP_Endpoint_Info *tmp = reinterpret_cast<TAO_UIOP_Endpoint_Info*> (this->buffer_); _TAO_Unbounded_Sequence_TAO_UIOPEndpointSequence::freebuf (tmp); } this->buffer_ = data; |