From 9f5ac80430413bcfe3dcfd7b97f9fd7a31343977 Mon Sep 17 00:00:00 2001 From: Herman Semenov Date: Wed, 20 Dec 2023 13:24:51 +0300 Subject: [PATCH] Fixed merge conflict --- Common/Data/Format/IniFile.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Common/Data/Format/IniFile.cpp b/Common/Data/Format/IniFile.cpp index 9c88ca432c..9b6ea6ed55 100644 --- a/Common/Data/Format/IniFile.cpp +++ b/Common/Data/Format/IniFile.cpp @@ -191,7 +191,7 @@ void Section::Clear() { bool Section::GetKeys(std::vector &keys) const { keys.clear(); - for (auto &line : lines_) { + for (const auto &line : lines_) { if (!line.Key().empty()) keys.emplace_back(line.Key()); } @@ -304,8 +304,7 @@ void Section::Set(std::string_view key, const std::vector& newValue { std::string temp; // Join the strings with , - for (const auto &value : newValues) - { + for (const auto &value : newValues) { temp += value + ","; } // remove last ,