MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / RemoveAt

Method RemoveAt

Source/BookmarkCollection.cpp:136–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136void CBookmarkCollection::RemoveAt(unsigned Frame, unsigned Row)
137{
138 const CBookmark tmp(Frame, Row);
139 m_pBookmark.erase(
140 std::remove_if(m_pBookmark.begin(), m_pBookmark.end(),
141 [&] (const std::unique_ptr<CBookmark> &a) { return *a == tmp; }),
142 m_pBookmark.end());
143}
144
145CBookmark *CBookmarkCollection::FindNext(unsigned Frame, unsigned Row) const
146{

Callers 1

OnBookmarksToggleMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected