mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-09-01 20:49:17 +00:00
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...
|
||||
QStringList parts = m_string.split('.');
|
||||
|
||||
for (const auto part : parts)
|
||||
for (const auto &part : parts)
|
||||
{
|
||||
m_sections.append(Section(part));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user