mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 13:05:25 -05:00
impr: Replace hex::unused with std::ignore
This commit is contained in:
@@ -41,17 +41,21 @@ namespace hex {
|
||||
}
|
||||
|
||||
void HttpRequest::setProxyUrl(std::string proxy) {
|
||||
hex::unused(proxy);
|
||||
std::ignore = proxy;
|
||||
}
|
||||
|
||||
void HttpRequest::setProxyState(bool state) {
|
||||
hex::unused(state);
|
||||
std::ignore = state;
|
||||
}
|
||||
|
||||
void HttpRequest::checkProxyErrors() { }
|
||||
|
||||
int HttpRequest::progressCallback(void *contents, curl_off_t dlTotal, curl_off_t dlNow, curl_off_t ulTotal, curl_off_t ulNow) {
|
||||
hex::unused(contents, dlTotal, dlNow, ulTotal, ulNow);
|
||||
std::ignore = contents;
|
||||
std::ignore = dlTotal;
|
||||
std::ignore = dlNow;
|
||||
std::ignore = ulTotal;
|
||||
std::ignore = ulNow;
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user