Apply all the clang-tidy misc-* fixes

This commit is contained in:
louiz’
2017-04-07 18:53:12 +02:00
parent 5402a256d1
commit ccb4ee098f
5 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -382,7 +382,7 @@ void IrcClient::send_message(IrcMessage&& message)
std::string res;
if (!message.prefix.empty())
res += ":" + std::move(message.prefix) + " ";
res += std::move(message.command);
res += message.command;
for (const std::string& arg: message.arguments)
{
if (arg.find(" ") != std::string::npos ||
@@ -889,7 +889,7 @@ void IrcClient::on_part(const IrcMessage& message)
// channel pointer is now invalid
channel = nullptr;
}
this->bridge.send_muc_leave(iid, std::move(nick), std::move(txt), self);
this->bridge.send_muc_leave(iid, std::move(nick), txt, self);
}
}