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:
@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user