MCPcopy Create free account
hub / github.com/cuberite/cuberite / DeleteHeaderComment

Method DeleteHeaderComment

lib/inifile/iniFile.cpp:666–675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664
665
666bool cIniFile::DeleteHeaderComment(int commentID)
667{
668 if (commentID < (int)comments.size())
669 {
670 vector<AString>::iterator cpos = comments.begin() + commentID;
671 comments.erase(cpos, cpos + 1);
672 return true;
673 }
674 return false;
675}
676
677
678

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
beginMethod · 0.80

Tested by

no test coverage detected