chore(Deps/Acelite): Update to 6.5.10 (#3450)

This commit is contained in:
Kargatum
2020-11-11 22:09:02 +07:00
committed by GitHub
parent a93565b6da
commit e27201cee2
921 changed files with 18238 additions and 33164 deletions

View File

@@ -15,7 +15,7 @@
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_ALLOC_HOOK_DEFINE(ACE_Unbounded_Set_Ex)
ACE_ALLOC_HOOK_DEFINE_Tcc(ACE_Unbounded_Set_Ex)
template <class T, class C> size_t
ACE_Unbounded_Set_Ex<T, C>::size (void) const
@@ -226,7 +226,7 @@ ACE_Unbounded_Set_Ex<T, C>::remove (const T &item)
{
// ACE_TRACE ("ACE_Unbounded_Set_Ex<T, C>::remove");
// Insert the item to be founded into the dummy node.
// Insert the item to be found into the dummy node.
this->head_->item_ = item;
NODE *curr = this->head_;
@@ -234,6 +234,11 @@ ACE_Unbounded_Set_Ex<T, C>::remove (const T &item)
while (!(this->comp_ (curr->next_->item_, item)))
curr = curr->next_;
// reset the dummy node. This ensures reference counted items are
// completely released. Without this, a reference can linger as
// the dummy long after it was removed from the list.
this->head_->item_ = T();
if (curr->next_ == this->head_)
return -1; // Item was not found.
else
@@ -278,7 +283,7 @@ ACE_Unbounded_Set_Ex<T, C>::end (void) const
return const_iterator (*this, 1);
}
ACE_ALLOC_HOOK_DEFINE(ACE_Unbounded_Set_Ex_Iterator)
ACE_ALLOC_HOOK_DEFINE_Tcc(ACE_Unbounded_Set_Ex_Iterator)
template <class T, class C> void
ACE_Unbounded_Set_Ex_Iterator<T, C>::dump (void) const
@@ -385,7 +390,7 @@ ACE_Unbounded_Set_Ex_Iterator<T, C>::operator!= (const ACE_Unbounded_Set_Ex_Iter
return (this->set_ != rhs.set_ || this->current_ != rhs.current_);
}
ACE_ALLOC_HOOK_DEFINE(ACE_Unbounded_Set_Ex_Const_Iterator)
ACE_ALLOC_HOOK_DEFINE_Tcc(ACE_Unbounded_Set_Ex_Const_Iterator)
template <class T, class C> void
ACE_Unbounded_Set_Ex_Const_Iterator<T, C>::dump (void) const