GraphicsMod: Simplify std::sort using ranges and projections

This commit is contained in:
mitaclaw
2024-10-05 16:08:01 -07:00
parent 2edf6c6419
commit 8b1975ab18
3 changed files with 1 additions and 8 deletions

View File

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