Permalink
Browse files

HttpClient, bugfix: compile warning in debug mode.

  • Loading branch information...
xicilion committed Jul 12, 2018
1 parent 5d36247 commit cd7faf1b0703f572dee82c67ed8618b8b7ce87db
Showing with 12 additions and 12 deletions.
  1. +12 −12 fibjs/include/HttpClient.h
View
@@ -117,18 +117,6 @@ class HttpClient : public HttpClient_base {
return false;
}
private:
class Conn : public obj_base {
public:
date_t d;
exlib::string url;
obj_ptr<Stream_base> conn;
};
std::vector<obj_ptr<Conn>> m_conns;
int32_t m_poolSize;
int32_t m_poolTimeout;
private:
result_t update(HttpCookie_base* cookie);
@@ -140,6 +128,18 @@ class HttpClient : public HttpClient_base {
bool m_autoRedirect;
int32_t m_maxBodySize;
exlib::string m_userAgent;
private:
class Conn : public obj_base {
public:
date_t d;
exlib::string url;
obj_ptr<Stream_base> conn;
};
std::vector<obj_ptr<Conn>> m_conns;
int32_t m_poolSize;
int32_t m_poolTimeout;
};
} /* namespace fibjs */

0 comments on commit cd7faf1

Please sign in to comment.