Merge pull request #1434 from gaul/const-string

Use const std::string& where possible
This commit is contained in:
Takeshi Nakatani
2020-10-03 10:02:03 +09:00
committed by GitHub
6 changed files with 12 additions and 13 deletions

View File

@ -245,7 +245,7 @@ bool takeout_str_dquart(std::string& str)
//
// ex. target="http://......?keyword=value&..."
//
bool get_keyword_value(std::string& target, const char* keyword, std::string& value)
bool get_keyword_value(const std::string& target, const char* keyword, std::string& value)
{
if(!keyword){
return false;