Przeglądaj źródła

settings: Remove sorting from log

Unecessary, and would run every time the settings are logged.
lat9nq 3 lat temu
rodzic
commit
ffb384463f
1 zmienionych plików z 0 dodań i 4 usunięć
  1. 0 4
      src/common/settings.cpp

+ 0 - 4
src/common/settings.cpp

@@ -108,10 +108,6 @@ void LogSettings() {
 
     LOG_INFO(Config, "yuzu Configuration:");
     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) {
             if (setting->Id() == values.yuzu_token.Id()) {
                 // Hide the token secret, for security reasons.