UsbDk: Introduce entry removal function for CWdmList
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
This commit is contained in:
parent
6ee40a363b
commit
a9ca161690
1 changed files with 7 additions and 0 deletions
|
|
@ -116,6 +116,13 @@ public:
|
|||
return GetCount();
|
||||
}
|
||||
|
||||
void Remove(TEntryType *Entry)
|
||||
{
|
||||
CLockedContext<TAccessStrategy> LockedContext(*this);
|
||||
RemoveEntryList(Entry->GetListEntry());
|
||||
CounterDecrement();
|
||||
}
|
||||
|
||||
template <typename TFunctor>
|
||||
void ForEachDetached(TFunctor Functor)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue