diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-24 17:48:39 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-24 17:48:39 +0000 |
commit | 092e6aaaec4dfadc86193176a4aa9781fbd8b2f7 (patch) | |
tree | af4e4ecfb017c03fb8667ff13e6217d9daae5338 /ace/Containers_T.cpp | |
parent | 78b32e97fab0767f22f1b8f683d9e541f04d3418 (diff) | |
download | ATCD-092e6aaaec4dfadc86193176a4aa9781fbd8b2f7.tar.gz |
(ACE_{Bounded,Fixed}_Set_Iterator::done): added ACE_CAST_CONST to the static cast
Diffstat (limited to 'ace/Containers_T.cpp')
-rw-r--r-- | ace/Containers_T.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ace/Containers_T.cpp b/ace/Containers_T.cpp index d8011487bc9..f7dd671baa9 100644 --- a/ace/Containers_T.cpp +++ b/ace/Containers_T.cpp @@ -1128,7 +1128,8 @@ ACE_Fixed_Set_Iterator<T, ACE_SIZE>::done (void) const { ACE_TRACE ("ACE_Fixed_Set_Iterator<T, ACE_SIZE>::done"); - return ACE_static_cast (size_t, this->next_) >= this->s_.cur_size_; + return ACE_static_cast (ACE_CAST_CONST size_t, this->next_) >= + this->s_.cur_size_; } template <class T, size_t ACE_SIZE> int @@ -1356,7 +1357,8 @@ ACE_Bounded_Set_Iterator<T>::done (void) const { ACE_TRACE ("ACE_Bounded_Set_Iterator<T>::done"); - return ACE_static_cast(size_t, this->next_) >= this->s_.cur_size_; + return ACE_static_cast (ACE_CAST_CONST size_t, this->next_) >= + this->s_.cur_size_; } template <class T> int |