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

Method RemovePlace

external/ImGuiFileDialog/ImGuiFileDialog.cpp:3417–3428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3415}
3416
3417bool IGFD::PlacesFeature::GroupStruct::RemovePlace(const std::string& vPlaceName) {
3418 if (vPlaceName.empty()) {
3419 return false;
3420 }
3421 for (auto places_it = places.begin(); places_it != places.end(); ++places_it) {
3422 if ((*places_it).name == vPlaceName) {
3423 places.erase(places_it);
3424 return true;
3425 }
3426 }
3427 return false;
3428}
3429#endif // USE_PLACES_FEATURE
3430
3431IGFD::KeyExplorerFeature::KeyExplorerFeature() = default;

Callers 1

IGFD_RemovePlaceFunction · 0.80

Calls 4

eraseMethod · 0.80
emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected