Prevent copying in a couple places (#4066)

This commit is contained in:
Kasia
2022-10-16 16:25:24 +02:00
committed by GitHub
parent 34b5fa661f
commit b232d16b55
3 changed files with 5 additions and 4 deletions
@@ -54,7 +54,7 @@ ContextMap buildContextMap(const MessagePtr &m, chatterino::Channel *channel)
bool subscribed = false;
int subLength = 0;
for (const QString &subBadge : {"subscriber", "founder"})
for (const auto &subBadge : {"subscriber", "founder"})
{
if (!badges.contains(subBadge))
{