diff options
Diffstat (limited to 'ace/Obstack_T.i')
-rw-r--r-- | ace/Obstack_T.i | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ace/Obstack_T.i b/ace/Obstack_T.i index f6ff337ba6e..57e049ef1ea 100644 --- a/ace/Obstack_T.i +++ b/ace/Obstack_T.i @@ -15,17 +15,15 @@ ACE_Obstack_T<CHAR>::size () const template <class CHAR> ACE_INLINE void ACE_Obstack_T<CHAR>::grow_fast (CHAR c) { - * (ACE_reinterpret_cast (CHAR *, - this->curr_->cur_)) = c; + * (reinterpret_cast<CHAR *> (this->curr_->cur_)) = c; this->curr_->cur_ += sizeof (CHAR); } template <class CHAR> ACE_INLINE CHAR * ACE_Obstack_T<CHAR>::freeze (void) { - CHAR *retv = ACE_reinterpret_cast (CHAR *, this->curr_->block_); - * (ACE_reinterpret_cast (CHAR *, - this->curr_->cur_)) = 0; + CHAR *retv = reinterpret_cast<CHAR *> (this->curr_->block_); + * (reinterpret_cast<CHAR *> (this->curr_->cur_)) = 0; this->curr_->cur_ += sizeof (CHAR); this->curr_->block_ = this->curr_->cur_; |