Skip to content

Commit

Permalink
Clang Tidy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
COM8 committed Dec 24, 2023
1 parent 69c2029 commit de88468
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions cpr/cookies.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const std::string Cookie::GetExpiresString() const {
#ifdef _WIN32
gmtime_s(&tm, &tt);
#else
// NOLINTNEXTLINE(misc-include-cleaner) False positive since <ctime> is included
gmtime_r(&tt, &tm);
#endif
ss << std::put_time(&tm, "%a, %d %b %Y %H:%M:%S GMT");
Expand Down
1 change: 1 addition & 0 deletions cpr/curl_container.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "cpr/curl_container.h"
#include "cpr/curlholder.h"
#include <algorithm>
#include <initializer_list>
#include <iterator>
Expand Down
1 change: 1 addition & 0 deletions cpr/curlholder.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "cpr/curlholder.h"
#include <cassert>
#include <curl/curl.h>
#include <curl/easy.h>
#include <string>

namespace cpr {
Expand Down

0 comments on commit de88468

Please sign in to comment.