mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-17 10:59:39 +00:00
Fixed minor code smells (#901)
This commit is contained in:
1 parent
faa5f1d802
commit
28e07bca16
2 files changed
+4
-6
No files matched your search
@@ -395,7 +395,7 @@ struct Request {
|
||||
ContentReceiverWithProgress content_receiver;
|
||||
Progress progress;
|
||||
#ifdef CPPHTTPLIB_OPENSSL_SUPPORT
|
||||
const SSL *ssl;
|
||||
const SSL *ssl = nullptr;
|
||||
#endif
|
||||
|
||||
bool has_header(const char *key) const;
|
||||
@@ -786,7 +786,7 @@ private:
|
||||
SocketOptions socket_options_ = default_socket_options;
|
||||
};
|
||||
|
||||
enum Error {
|
||||
enum class Error {
|
||||
Success = 0,
|
||||
Unknown,
|
||||
Connection,
|
||||
|
||||
Reference in new issue
Block a user