mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
refs #937 Resolved clazy warnings: unnecessary memory allocation.
This commit is contained in:
@@ -310,7 +310,7 @@ namespace BlackMisc
|
||||
{
|
||||
Q_UNUSED(i18n);
|
||||
QString strategy;
|
||||
QString categories = QStringList(m_strings.toList()).join("|");
|
||||
QString categories = QStringList(m_strings.toList()).join("|"); // clazy:exclude=container-anti-pattern
|
||||
switch (m_strategy)
|
||||
{
|
||||
case Everything: strategy = "none"; break;
|
||||
|
||||
Reference in New Issue
Block a user