chore: use a const Ref for ServerConnection client name check
This commit is contained in:
parent
475b895755
commit
e24b1c4b68
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue