path: root/src/gui/text/qdistancefield_p.h
diff options
authorMarc Mutz <>2019-07-01 13:52:44 +0200
committerMarc Mutz <>2019-07-11 22:07:38 +0200
commit135aa77021519ef833c807d49d4fe3428ab970e5 (patch)
tree3807adac0be3d20b45bbbb69d37fe39e2fc406c5 /src/gui/text/qdistancefield_p.h
parent6aa662343778727d460f8657d3187e407492cdd3 (diff)
Revert "QDistanceField: add missing copy assignment operator"
The reverts commit 0624c99ea3d52f07c93378fcf75c3121df1b3928, which fixed a GCC 9 -Wdeprecated-copy warning by adding the copy assignment operator. The 5.12 change 0e162315 fixed the same warning by removing the copy ctor. The merge ef37ab99 removed the copy ctor, but kept the assignment operator added by 0624c99e, bringing the original warning back, but with the roles of copy ctor and assignment operator reversed. One has to give. Change-Id: Ib32841df94a5ff80402a68b5fe776eb82e94136f Reviewed-by: Giuseppe D'Angelo <> Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'src/gui/text/qdistancefield_p.h')
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/text/qdistancefield_p.h b/src/gui/text/qdistancefield_p.h
index d6d8edd85d..823bfaf1c6 100644
--- a/src/gui/text/qdistancefield_p.h
+++ b/src/gui/text/qdistancefield_p.h
@@ -94,7 +94,6 @@ public:
QDistanceField(const QRawFont &font, glyph_t glyph, bool doubleResolution = false);
QDistanceField(QFontEngine *fontEngine, glyph_t glyph, bool doubleResolution = false);
QDistanceField(const QPainterPath &path, glyph_t glyph, bool doubleResolution = false);
- QDistanceField &operator=(const QDistanceField &other);
bool isNull() const;