NOISSUE fix compiling of api/logic/Version.cpp

-Wrange-loop-construct triggers this error in clang
This commit is contained in:
John C. Allwein 2020-04-18 19:14:35 -04:00 committed by John C. Allwein
parent 130e1263b6
commit 5c921589f1
No known key found for this signature in database
GPG Key ID: 50982AE5B444BE15

View File

@ -78,7 +78,7 @@ void Version::parse()
// FIXME: this is bad. versions can contain a lot more separators...
QStringList parts = m_string.split('.');
for (const auto part : parts)
for (const auto &part : parts)
{
m_sections.append(Section(part));
}