Skip to content

Commit 330725b

Browse files
committed
Suppressed Clang-Tidy warning with NOLINT
1 parent 86376a5 commit 330725b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpr/error.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <unordered_map>
44

55
namespace cpr {
6-
static const std::unordered_map<std::int32_t, ErrorCode> curl_error_map = {
6+
static const std::unordered_map<std::int32_t, ErrorCode> curl_error_map = { // NOLINT - (needed because of static init)
77
{CURLE_OK, ErrorCode::OK},
88
{CURLE_UNSUPPORTED_PROTOCOL, ErrorCode::UNSUPPORTED_PROTOCOL},
99
{CURLE_FAILED_INIT, ErrorCode::FAILED_INIT},

0 commit comments

Comments
 (0)