Remove calls to append, assign, and at

operator+, operator=, and operator[] are more idiomatic and consistent
with the code base.
This commit is contained in:
Andrew Gaul
2020-09-25 12:15:04 +09:00
parent 864941d4d5
commit 2438066d52
4 changed files with 17 additions and 17 deletions

View File

@ -259,7 +259,7 @@ bool get_keyword_value(std::string& target, const char* keyword, std::string& va
return false;
}
spos += strlen(keyword);
if('=' != target.at(spos)){
if('=' != target[spos]){
return false;
}
spos++;