Commit 4d424590 by xiongziliang

优化代码

parent f48e6112
...@@ -50,7 +50,7 @@ class HttpBody : public std::enable_shared_from_this<HttpBody>{ ...@@ -50,7 +50,7 @@ class HttpBody : public std::enable_shared_from_this<HttpBody>{
public: public:
typedef std::shared_ptr<HttpBody> Ptr; typedef std::shared_ptr<HttpBody> Ptr;
HttpBody(){ HttpBody(){
_async_read_thread = WorkThreadPool::Instance().getPoller(); // _async_read_thread = WorkThreadPool::Instance().getPoller();
} }
virtual ~HttpBody(){} virtual ~HttpBody(){}
...@@ -94,7 +94,7 @@ public: ...@@ -94,7 +94,7 @@ public:
#endif #endif
} }
private: private:
EventPoller::Ptr _async_read_thread; // EventPoller::Ptr _async_read_thread;
}; };
/** /**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论