优化性能

This commit is contained in:
xiongziliang
2017-12-04 23:55:09 +08:00
parent 882210abd2
commit a32c97f8b5
18 changed files with 118 additions and 111 deletions

View File

@@ -62,6 +62,9 @@ private:
int send(const string &strBuf) override {
return m_pSender->send(strBuf);
}
int send(string &&strBuf) override {
return m_pSender->send(std::move(strBuf));
}
int send(const char *pcBuf, int iSize) override {
return m_pSender->send(pcBuf, iSize);
}