1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-07-05 00:17:11 +02:00

Update CPR to latest git.

This commit is contained in:
Sandu Liviu Catalin
2021-08-22 20:28:37 +03:00
parent 69a4d305a5
commit f23a2fe389
16 changed files with 284 additions and 281 deletions

View File

@ -6,9 +6,6 @@ namespace cpr {
// NOLINTNEXTLINE (cppcoreguidelines-avoid-non-const-global-variables)
std::mutex CurlHolder::curl_easy_init_mutex_{};
#ifndef _WIN32 // There is no thread sanitizer on windows
__attribute__((no_sanitize("thread")))
#endif
CurlHolder::CurlHolder() {
/**
* Allow multithreaded access to CPR by locking curl_easy_init().