mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
refs #937 Resolved clazy warnings: miscellaneous.
This commit is contained in:
@@ -39,7 +39,7 @@ namespace BlackMisc
|
||||
QStringList list;
|
||||
for (const auto scope : BlackMisc::as_const(jsonStack()))
|
||||
{
|
||||
list.push_back(scope->m_string ? *scope->m_string : scope->m_latin1);
|
||||
list.push_back(scope->m_string ? *scope->m_string : scope->m_latin1); // clazy:exclude=reserve-candidates
|
||||
if (scope->m_index >= 0) { list.back() += "[" % QString::number(scope->m_index) % "]"; }
|
||||
}
|
||||
return list.isEmpty() ? QStringLiteral("<document root>") : list.join('.');
|
||||
|
||||
Reference in New Issue
Block a user