MCPcopy Create free account
hub / github.com/Project-LemonLime/Project_LemonLime / deleteCompiler

Method deleteCompiler

src/base/settings.cpp:224–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222void Settings::addCompiler(Compiler *compiler) { compilerList.append(compiler); }
223
224void Settings::deleteCompiler(int index) {
225 if (0 <= index && index < compilerList.size()) {
226 delete compilerList[index];
227 compilerList.removeAt(index);
228 }
229}
230
231auto Settings::getCompiler(int index) -> Compiler * {
232 if (0 <= index && index < compilerList.size()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected