Use clear to reset string

V815 Decreased performance. Consider replacing the expression 'token = ""' with 'token.clear()'. http.cpp 193
v0.27.3
tbeu 8 years ago committed by Dan Čermák
parent 9569ef2fda
commit 12d0da619b

@ -187,7 +187,7 @@ static Exiv2::Dictionary stringToDict(const std::string& s)
token += s[i];
} else {
result[token]=token;
token="";
token.clear();
}
i++;
}

Loading…
Cancel
Save