优化代码

This commit is contained in:
xiongziliang 2019-12-29 16:54:02 +08:00
parent f48e611253
commit 4d42459004

View File

@ -50,7 +50,7 @@ class HttpBody : public std::enable_shared_from_this<HttpBody>{
public:
typedef std::shared_ptr<HttpBody> Ptr;
HttpBody(){
_async_read_thread = WorkThreadPool::Instance().getPoller();
// _async_read_thread = WorkThreadPool::Instance().getPoller();
}
virtual ~HttpBody(){}
@ -94,7 +94,7 @@ public:
#endif
}
private:
EventPoller::Ptr _async_read_thread;
// EventPoller::Ptr _async_read_thread;
};
/**