NOISSUE fix compiling of api/logic/Version.cpp
-Wrange-loop-construct triggers this error in clang
This commit is contained in:
parent
130e1263b6
commit
5c921589f1
@ -78,7 +78,7 @@ void Version::parse()
|
|||||||
// FIXME: this is bad. versions can contain a lot more separators...
|
// FIXME: this is bad. versions can contain a lot more separators...
|
||||||
QStringList parts = m_string.split('.');
|
QStringList parts = m_string.split('.');
|
||||||
|
|
||||||
for (const auto part : parts)
|
for (const auto &part : parts)
|
||||||
{
|
{
|
||||||
m_sections.append(Section(part));
|
m_sections.append(Section(part));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user