Skip to content

Commit 85ae2fb

Browse files
committed
only parse order on load, don't keep in SSetting struct
1 parent 88ef664 commit 85ae2fb

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/config/ConfigManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ std::vector<CConfigManager::SSetting> CConfigManager::getSettings() {
200200
}
201201
}
202202

203-
result.emplace_back(SSetting{.monitor = std::move(monitor), .fitMode = std::move(fitMode), .paths = std::move(resolvedPaths), .timeout = timeout, .order = order});
203+
result.emplace_back(SSetting{.monitor = std::move(monitor), .fitMode = std::move(fitMode), .paths = std::move(resolvedPaths), .timeout = timeout});
204204
}
205205

206206
return result;

src/config/ConfigManager.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class CConfigManager {
1818
std::vector<std::string> paths;
1919
int timeout = 0;
2020
uint32_t id = 0;
21-
std::string order;
2221
};
2322

2423
constexpr static const uint32_t SETTING_INVALID = 0;

0 commit comments

Comments
 (0)