QDistanceField: add missing copy assignment operator
As found by GCC, while compiling qt5/qttools/src/distancefieldgenerator/mainwindow.cpp. Change-Id: I155c0b8b09bd12c12af0bd69e19747485be960e1 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
2c51a91e03
commit
0624c99ea3
@ -904,6 +904,9 @@ QDistanceField::QDistanceField(const QDistanceField &other)
|
||||
d = other.d;
|
||||
}
|
||||
|
||||
QDistanceField &QDistanceField::operator=(const QDistanceField &)
|
||||
= default;
|
||||
|
||||
QDistanceField::QDistanceField(const QRawFont &font, glyph_t glyph, bool doubleResolution)
|
||||
{
|
||||
setGlyph(font, glyph, doubleResolution);
|
||||
|
@ -95,6 +95,7 @@ public:
|
||||
QDistanceField(QFontEngine *fontEngine, glyph_t glyph, bool doubleResolution = false);
|
||||
QDistanceField(const QPainterPath &path, glyph_t glyph, bool doubleResolution = false);
|
||||
QDistanceField(const QDistanceField &other);
|
||||
QDistanceField &operator=(const QDistanceField &other);
|
||||
|
||||
bool isNull() const;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user