mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-26 03:57:13 +02:00
Update CPR.
This commit is contained in:
10
vendor/CPR/include/cpr/cookies.h
vendored
10
vendor/CPR/include/cpr/cookies.h
vendored
@ -25,13 +25,13 @@ class Cookies {
|
||||
bool encode{true};
|
||||
|
||||
// NOLINTNEXTLINE(google-explicit-constructor, hicpp-explicit-conversions)
|
||||
Cookies(bool encode = true) : encode(encode) {}
|
||||
Cookies(bool p_encode = true) : encode(p_encode) {}
|
||||
Cookies(const std::initializer_list<std::pair<const std::string, std::string>>& pairs,
|
||||
bool encode = true)
|
||||
: encode(encode), map_{pairs} {}
|
||||
bool p_encode = true)
|
||||
: encode(p_encode), map_{pairs} {}
|
||||
// NOLINTNEXTLINE(google-explicit-constructor, hicpp-explicit-conversions)
|
||||
Cookies(const std::map<std::string, std::string>& map, bool encode = true)
|
||||
: encode(encode), map_{map} {}
|
||||
Cookies(const std::map<std::string, std::string>& map, bool p_encode = true)
|
||||
: encode(p_encode), map_{map} {}
|
||||
|
||||
std::string& operator[](const std::string& key);
|
||||
std::string GetEncoded(const CurlHolder& holder) const;
|
||||
|
Reference in New Issue
Block a user