Silence false-positive clang-tidy warning,
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
and one I can't do anything about.
This commit is contained in:
parent
0596406113
commit
99f00e331a
|
@ -30,7 +30,7 @@ namespace mastodonpp
|
||||||
using std::get;
|
using std::get;
|
||||||
using std::holds_alternative;
|
using std::holds_alternative;
|
||||||
using std::any_of;
|
using std::any_of;
|
||||||
using std::array;
|
using std::array; // NOLINT(misc-unused-using-decls)
|
||||||
using std::atomic;
|
using std::atomic;
|
||||||
using std::uint8_t;
|
using std::uint8_t;
|
||||||
using std::uint16_t;
|
using std::uint16_t;
|
||||||
|
@ -251,6 +251,7 @@ void CURLWrapper::set_access_token(const string_view access_token)
|
||||||
|
|
||||||
void CURLWrapper::set_cainfo(const string_view path)
|
void CURLWrapper::set_cainfo(const string_view path)
|
||||||
{
|
{
|
||||||
|
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg)
|
||||||
CURLcode code{curl_easy_setopt(_connection, CURLOPT_CAINFO, path.data())};
|
CURLcode code{curl_easy_setopt(_connection, CURLOPT_CAINFO, path.data())};
|
||||||
if (code != CURLE_OK)
|
if (code != CURLE_OK)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user