Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initialising order warnings #139

Merged
merged 2 commits into from
Jan 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/curl_header.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ namespace curl {
}

// Implementation of copy constructor.
inline curl_header::curl_header(const curl_header &header) : headers(nullptr), size(0) {
inline curl_header::curl_header(const curl_header &header) : size(0), headers(nullptr) {
*this = header;
}

Expand Down
4 changes: 2 additions & 2 deletions include/curl_multi.h
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,9 @@ namespace curl {

using multi_ptr = std::unique_ptr<CURLM, multi_deleter>;

int message_queued;
int active_transfers;
multi_ptr curl;
int active_transfers;
int message_queued;
std::unordered_map<CURL*, curl_easy*> handles;
};

Expand Down