We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
VideoMode
1 parent 755d3c0 commit 8b37124Copy full SHA for 8b37124
1 file changed
libs/driver/include/driver/VideoMode.h
@@ -16,10 +16,6 @@ struct VideoMode
16
constexpr bool operator!=(const VideoMode& o) const { return !(*this == o); }
17
constexpr bool operator<(const VideoMode& o) const
18
{
19
- const auto area = static_cast<unsigned>(width) * height;
20
- const auto otherArea = static_cast<unsigned>(o.width) * o.height;
21
- if(area != otherArea)
22
- return area < otherArea;
23
if(width != o.width)
24
return width < o.width;
25
return height < o.height;
0 commit comments