summaryrefslogtreecommitdiffstats
path: root/src/gui/text
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text')
-rw-r--r--src/gui/text/qfontdatabase_p.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gui/text/qfontdatabase_p.h b/src/gui/text/qfontdatabase_p.h
index 5aff36d5cf..f60671ccb3 100644
--- a/src/gui/text/qfontdatabase_p.h
+++ b/src/gui/text/qfontdatabase_p.h
@@ -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)