mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Fixed clazy warnings: pass large objects by reference to const.
This commit is contained in:
@@ -101,7 +101,7 @@ namespace BlackGui
|
||||
{
|
||||
if (messages.isEmpty()) { return ""; }
|
||||
QString html("<table>");
|
||||
for (CTextMessage msg : messages)
|
||||
for (const CTextMessage &msg : messages)
|
||||
{
|
||||
html += toHtml(msg, withFrom, withTo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user