Fix warnings/reformat some code

This commit is contained in:
Rasmus Karlsson
2017-08-12 15:58:46 +02:00
parent ce61351fe3
commit a82774543c
16 changed files with 26 additions and 96 deletions
+3 -2
View File
@@ -111,15 +111,16 @@ void ChannelManager::removeChannel(const QString &channel)
const std::string &ChannelManager::getUserID(const std::string &username)
{
/* TODO: Implement
auto it = this->usernameToID.find(username);
/*
if (it != std::end(this->usernameToID)) {
return *it;
}
*/
return "xd";
static std::string temporary = "xd";
return temporary;
}
} // namespace chatterino