Skip to content

Commit 12a511e

Browse files
committed
fix clang-tidy
1 parent fec3c39 commit 12a511e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cpr/response.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ Response::Response(std::shared_ptr<CurlHolder> curl, std::string&& p_text, std::
4242
}
4343
#endif
4444
#if LIBCURL_VERSION_NUM >= 0x071500 // 7.21.0
45+
// Ignored here since libcurl uses a long for this.
46+
// NOLINTNEXTLINE(google-runtime-int)
4547
long port = 0;
4648
if (curl_easy_getinfo(curl_->handle, CURLINFO_PRIMARY_PORT, &port) == CURLE_OK) {
4749
primary_port = port;

0 commit comments

Comments
 (0)