mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 21:15:19 +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