void ClipPlayer::RemoveClip(ClipEntry *pClip)
m_Clips.erase(&pClip);i am getting error
Could not find a match for 'list<ClipEntry,allocator<ClipEntry> >::erase(ClipEntry * *)'
It seems like you're mixing up what type you're storing in the list...
You don't include the declaration for the
m_Clips member variable.
Does it store
The compiler error a probably caused by the fact that
expects an iterator as argument and not a pointer to an element in the list.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown