MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / RemovePlacesGroup

Method RemovePlacesGroup

external/ImGuiFileDialog/ImGuiFileDialog.cpp:3380–3388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3378}
3379
3380bool IGFD::PlacesFeature::RemovePlacesGroup(const std::string& vGroupName) {
3381 for (auto it = m_Groups.begin(); it != m_Groups.end(); ++it) {
3382 if ((*it).second->name == vGroupName) {
3383 m_Groups.erase(it);
3384 return true;
3385 }
3386 }
3387 return false;
3388}
3389
3390IGFD::PlacesFeature::GroupStruct* IGFD::PlacesFeature::GetPlacesGroupPtr(const std::string& vGroupName) {
3391 if (m_Groups.find(vGroupName) != m_Groups.end()) {

Callers 1

IGFD_RemovePlacesGroupFunction · 0.80

Calls 3

eraseMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected