Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lihuiba committed Dec 21, 2023
1 parent 5eb9397 commit b470ea9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion common/utility.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class Defer
T m_func;
};

template<typename T> __INLINE__
template<typename T> __FORCE_INLINE__
Defer<T> make_defer(T func) { return Defer<T>(func); }

#define _CONCAT_(a, b) a##b
Expand Down
4 changes: 1 addition & 3 deletions net/http/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ class ClientImpl : public Client {
CommonHeaders<> m_common_headers;
ICookieJar *m_cookie_jar;
ClientImpl(ICookieJar *cookie_jar, TLSContext *tls_ctx) :
m_cookie_jar(cookie_jar),
m_dialer(tls_ctx) {
}
m_dialer(tls_ctx), m_cookie_jar(cookie_jar) { }

using SocketStream_ptr = std::unique_ptr<ISocketStream>;
int redirect(Operation* op) {
Expand Down

0 comments on commit b470ea9

Please sign in to comment.