cleanup in cmake file (added libraries)
code reformats
This commit is contained in:
@ -26,7 +26,7 @@ API::request(std::string myurl, bool post, Hashmap<std::string, std::string> &ma
|
||||
|
||||
struct curl_slist *list = nullptr;
|
||||
for (int j = 0; j < headers.size(); ++j) {
|
||||
list = curl_slist_append(list, headers.at((unsigned long)(j)).c_str());
|
||||
list = curl_slist_append(list, headers.at((unsigned long) (j)).c_str());
|
||||
}
|
||||
|
||||
std::string readString;
|
||||
|
@ -43,7 +43,7 @@ valuetype Hashmap<keytype, valuetype>::getValue(int position) {
|
||||
|
||||
template<class keytype, class valuetype>
|
||||
int Hashmap<keytype, valuetype>::size() {
|
||||
return (int)(keys.size());
|
||||
return (int) (keys.size());
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user