Fixed merge conflict

This commit is contained in:
Herman Semenov authored and Henrik Rydgård committed 2024-09-18 11:10:55 +02:00
1 parent 192650f551
commit 9f5ac80430
1 file changed
+2 -3
+2 -3
View File
@@ -191,7 +191,7 @@ void Section::Clear() {
bool Section::GetKeys(std::vector<std::string> &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<std::string>& newValue
{
std::string temp;
// Join the strings with ,
for (const auto &value : newValues)
{
for (const auto &value : newValues) {
temp += value + ",";
}
// remove last ,