UsbDk: Introduce entry removal function for CWdmList

Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
This commit is contained in:
Dmitry Fleytman 2014-02-16 18:11:32 +02:00
parent 6ee40a363b
commit a9ca161690

View file

@ -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)
{