Revert some unnecessary log changes from #18001
This commit is contained in:
parent
ac2859348d
commit
42b0ccd07d
3 changed files with 2 additions and 18 deletions
|
@ -403,18 +403,6 @@ std::map<std::string, std::string> Section::ToMap() const
|
|||
return outMap;
|
||||
}
|
||||
|
||||
std::vector<std::pair<std::string, std::string>> Section::ToVec() const {
|
||||
std::vector<std::pair<std::string, std::string>> outVec;
|
||||
for (std::vector<std::string>::const_iterator iter = lines.begin(); iter != lines.end(); ++iter)
|
||||
{
|
||||
std::string lineKey, lineValue;
|
||||
if (ParseLine(*iter, &lineKey, &lineValue, NULL)) {
|
||||
outVec.push_back(std::pair<std::string, std::string>(lineKey, lineValue));
|
||||
}
|
||||
}
|
||||
return outVec;
|
||||
}
|
||||
|
||||
bool Section::Delete(const char *key)
|
||||
{
|
||||
std::string* line = GetLine(key, 0, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue