MCPcopy Create free account
hub / github.com/YACReader/yacreader / remove

Method remove

YACReaderLibrary/yacreader_libraries.cpp:94–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void YACReaderLibraries::remove(const QString &name)
95{
96 auto library = std::find_if(libraries.begin(), libraries.end(), [name](const YACReaderLibrary &library) { return library.getName() == name; });
97 libraries.erase(library);
98}
99
100void YACReaderLibraries::rename(const QString &oldName, const QString &newName)
101{

Callers

nothing calls this directly

Calls 1

getNameMethod · 0.45

Tested by

no test coverage detected