瀏覽代碼

settings: Remove sorting from log

Unecessary, and would run every time the settings are logged.
lat9nq 3 年之前
父節點
當前提交
ffb384463f
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      src/common/settings.cpp

+ 0 - 4
src/common/settings.cpp

@@ -108,10 +108,6 @@ void LogSettings() {
 
 
     LOG_INFO(Config, "yuzu Configuration:");
     LOG_INFO(Config, "yuzu Configuration:");
     for (auto& [category, settings] : values.linkage.by_category) {
     for (auto& [category, settings] : values.linkage.by_category) {
-        settings.sort([](const BasicSetting* a, const BasicSetting* b) {
-            return a->GetLabel() < b->GetLabel();
-        });
-
         for (const auto& setting : settings) {
         for (const auto& setting : settings) {
             if (setting->Id() == values.yuzu_token.Id()) {
             if (setting->Id() == values.yuzu_token.Id()) {
                 // Hide the token secret, for security reasons.
                 // Hide the token secret, for security reasons.