We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86376a5 commit 330725bCopy full SHA for 330725b
cpr/error.cpp
@@ -3,7 +3,7 @@
3
#include <unordered_map>
4
5
namespace cpr {
6
-static const std::unordered_map<std::int32_t, ErrorCode> curl_error_map = {
+static const std::unordered_map<std::int32_t, ErrorCode> curl_error_map = { // NOLINT - (needed because of static init)
7
{CURLE_OK, ErrorCode::OK},
8
{CURLE_UNSUPPORTED_PROTOCOL, ErrorCode::UNSUPPORTED_PROTOCOL},
9
{CURLE_FAILED_INIT, ErrorCode::FAILED_INIT},
0 commit comments