Merge pull request #1434 from gaul/const-string
Use const std::string& where possible
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user