Remove 'less than' comparison method

Change-Id: Ief52da4f9176216ba45d4dc9df5bb341987cb585
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
Jonas Karlsson 2020-08-14 11:20:48 +02:00
parent 150a6c691f
commit f095dc7af1

View File

@ -126,13 +126,6 @@ struct Q_GUI_EXPORT QtFontStyle
{
return !operator==(other);
}
bool operator<(const Key &o) const noexcept
{
int x = (style << 12) + (weight << 14) + stretch;
int y = (o.style << 12) + (o.weight << 14) + o.stretch;
return (x < y);
}
};
QtFontStyle(const Key &k)