diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/Notify_ID_Pool_T.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Notify/Notify_ID_Pool_T.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Notify_ID_Pool_T.cpp b/TAO/orbsvcs/orbsvcs/Notify/Notify_ID_Pool_T.cpp index a5af84665b1..5730e44a04d 100644 --- a/TAO/orbsvcs/orbsvcs/Notify/Notify_ID_Pool_T.cpp +++ b/TAO/orbsvcs/orbsvcs/Notify/Notify_ID_Pool_T.cpp @@ -11,7 +11,7 @@ template <class ID_TYPE> TAO_Notify_ID_Pool<ID_TYPE>::TAO_Notify_ID_Pool (void) - : id_ (0) + : max_id_ (0) { // No-Op. } @@ -25,19 +25,7 @@ TAO_Notify_ID_Pool<ID_TYPE>::~TAO_Notify_ID_Pool () template <class ID_TYPE> ID_TYPE TAO_Notify_ID_Pool<ID_TYPE>::get (void) { - return this->id_++; -} - -template <class ID_TYPE> void -TAO_Notify_ID_Pool<ID_TYPE>::put (ID_TYPE id ) -{ - this->active_list_.remove (id); -} - -template <class ID_TYPE> void -TAO_Notify_ID_Pool<ID_TYPE>::next (void) -{ - this->active_list_.insert (this->id_); + return this->max_id_++; } template <class ID_TYPE, class ID_TYPE_SEQ> |