diff options
author | John C. Allwein <5902494+johnnyapol@users.noreply.github.com> | 2020-04-18 19:14:35 -0400 |
---|---|---|
committer | John C. Allwein <git@johnnyapol.me> | 2020-04-19 14:36:42 -0400 |
commit | 5c921589f1db2acb9691b3077fddf6a9d7336693 (patch) | |
tree | c4801cdd7216b3f30c16e55dee059773eaef5b24 | |
parent | 130e1263b688408ad27604093a587f3dde571f0c (diff) | |
download | MultiMC-5c921589f1db2acb9691b3077fddf6a9d7336693.tar MultiMC-5c921589f1db2acb9691b3077fddf6a9d7336693.tar.gz MultiMC-5c921589f1db2acb9691b3077fddf6a9d7336693.tar.lz MultiMC-5c921589f1db2acb9691b3077fddf6a9d7336693.tar.xz MultiMC-5c921589f1db2acb9691b3077fddf6a9d7336693.zip |
NOISSUE fix compiling of api/logic/Version.cpp
-Wrange-loop-construct triggers this error in clang
-rw-r--r-- | api/logic/Version.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/logic/Version.cpp b/api/logic/Version.cpp index 42eac669..6392a50f 100644 --- a/api/logic/Version.cpp +++ b/api/logic/Version.cpp @@ -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)); } |