GraphicsMod: Simplify std::sort using ranges and projections

This commit is contained in:
mitaclaw committed 2024-10-11 12:08:22 -07:00
1 parent 2edf6c6419
commit 8b1975ab18
3 files changed
+1 -8

No files matched your search

@@ -330,8 +330,3 @@ void GraphicsModConfig::DeserializeFromProfile(const picojson::object& obj)
}
}
}
bool GraphicsModConfig::operator<(const GraphicsModConfig& other) const
{
return m_weight < other.m_weight;
}