Avoid unnecessary copies by recv()ing data directly into the expat buffer

This commit is contained in:
Florent Le Coz
2014-02-28 01:14:38 +01:00
parent df774d45a9
commit 86d4347af8
8 changed files with 93 additions and 18 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ std::string IrcClient::get_own_nick() const
return this->current_nick;
}
void IrcClient::parse_in_buffer()
void IrcClient::parse_in_buffer(const size_t)
{
while (true)
{