Commit 4d424590 by xiongziliang

优化代码

parent f48e6112
......@@ -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;
};
/**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论