Signed-off-by: Benjamin ROBIN <dev@xxxxxxxxxxxxx> --- src/KsUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/KsUtils.cpp b/src/KsUtils.cpp index fc1fc52..83f8f2e 100644 --- a/src/KsUtils.cpp +++ b/src/KsUtils.cpp @@ -530,7 +530,7 @@ QVector<int> parseIdList(QString v_str) QStringList list = v_str.split(",", KS_SPLIT_SkipEmptyParts); QVector<int> v; - for (auto item: list) { + for (const auto &item: list) { int i = item.indexOf('-'); if (i > 0) { /* This item is an interval. */ -- 2.43.0