Fix SSL client issue.

This commit is contained in:
Chunting Gu
2018-09-19 15:53:10 +08:00
parent 87ead87527
commit ef252c9f74
4 changed files with 63 additions and 92 deletions
-6
View File
@@ -190,12 +190,6 @@ UrlQuery::UrlQuery(const std::string& str) {
}
}
UrlQuery::UrlQuery(const std::map<std::string, std::string>& map) {
for (auto& pair : map) {
Add(pair.first, pair.second);
}
}
void UrlQuery::Add(std::string&& key, std::string&& value) {
if (!Has(key)) {
parameters_.push_back({ std::move(key), std::move(value) });