Silence clang-tidy warnings I can't do anything about.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
tastytea 2020-01-10 14:35:44 +01:00
parent cb7019a0fd
commit da033c3ffc
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 3 additions and 3 deletions

View File

@ -175,7 +175,7 @@ answer_type CURLWrapper::make_request(const http_method &method, string uri,
void CURLWrapper::set_access_token(const string_view access_token)
{
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg)
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg, hicpp-signed-bitwise)
CURLcode code{curl_easy_setopt(_connection, CURLOPT_XOAUTH2_BEARER,
access_token.data())};
if (code != CURLE_OK)
@ -184,11 +184,11 @@ void CURLWrapper::set_access_token(const string_view access_token)
_curl_buffer_error};
}
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg)
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg, hicpp-signed-bitwise)
code = curl_easy_setopt(_connection, CURLOPT_HTTPAUTH, CURLAUTH_BEARER);
if (code == CURLE_NOT_BUILT_IN) // libcurl < 7.61.0.
{
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg)
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg, hicpp-signed-bitwise)
code = curl_easy_setopt(_connection, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
}
if (code != CURLE_OK)