chore: use a const Ref for ServerConnection client name check
This commit is contained in:
committed by
Chris Rizzitello
parent
475b895755
commit
e24b1c4b68
@ -62,7 +62,7 @@ void ServerConnection::handleLogLine(const QString &logLine)
|
||||
return;
|
||||
}
|
||||
|
||||
if (const auto client = message.getClientName(); m_receivedClients.contains(client)) {
|
||||
if (const auto &client = message.getClientName(); m_receivedClients.contains(client)) {
|
||||
qDebug("already got request, skipping new client prompt for: %s", qPrintable(client));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user