Rename updateOnlineChatters() argument name and local variable
This commit is contained in:
@@ -71,10 +71,10 @@ void ChannelChatters::addPartedUser(const QString &user)
|
||||
}
|
||||
|
||||
void ChannelChatters::updateOnlineChatters(
|
||||
const std::unordered_set<QString> &chatters)
|
||||
const std::unordered_set<QString> &usernames)
|
||||
{
|
||||
auto chatters_ = this->chatters_.access();
|
||||
chatters_->updateOnlineChatters(chatters);
|
||||
auto chatters = this->chatters_.access();
|
||||
chatters->updateOnlineChatters(usernames);
|
||||
}
|
||||
|
||||
size_t ChannelChatters::colorsSize() const
|
||||
|
||||
@@ -23,7 +23,7 @@ public:
|
||||
void addPartedUser(const QString &user);
|
||||
const QColor getUserColor(const QString &user);
|
||||
void setUserColor(const QString &user, const QColor &color);
|
||||
void updateOnlineChatters(const std::unordered_set<QString> &chatters);
|
||||
void updateOnlineChatters(const std::unordered_set<QString> &usernames);
|
||||
|
||||
// colorsSize returns the amount of colors stored in `chatterColors_`
|
||||
// NOTE: This function is only meant to be used in tests and benchmarks
|
||||
|
||||
Reference in New Issue
Block a user