diff options
author | Andreas Buhr <andreas.buhr@qt.io> | 2022-05-18 11:31:15 +0200 |
---|---|---|
committer | Andreas Buhr <andreas.buhr@qt.io> | 2022-05-18 16:52:12 +0200 |
commit | 761b00d340924264f3c18c43c7f596e723b04d68 (patch) | |
tree | 71df247dd5f8f212841ff423a6b1a2fab2fc410a | |
parent | bcbcd12d61c4ec17f649a7dbc9d325ee6fef70f7 (diff) | |
download | qtimageformats-761b00d340924264f3c18c43c7f596e723b04d68.tar.gz |
Replace discouraged Q_MOVABLE_TYPE by Q_RELOCATABLE_TYPE
Q_MOVABLE_TYPE was conceived before C++ had move semantics. Now, with
move semantics, its name is misleading. Q_RELOCATABLE_TYPE was
introduced as a synonym to Q_MOVABLE_TYPE. Usage of Q_MOVABLE_TYPE
is discouraged now. This patch replaces the last usage of Q_MOVABLE_TYPE
by Q_RELOCATABLE_TYPE in qtimageformats. As the two are synonymous, this
patch should have no impact on users.
Task-number: QTBUG-86829
Change-Id: Ia36e46516445c674fbb4512f82e67c2a6bfabb87
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
-rw-r--r-- | src/plugins/imageformats/icns/qicnshandler_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/imageformats/icns/qicnshandler_p.h b/src/plugins/imageformats/icns/qicnshandler_p.h index dc6aba1..0ccca1f 100644 --- a/src/plugins/imageformats/icns/qicnshandler_p.h +++ b/src/plugins/imageformats/icns/qicnshandler_p.h @@ -121,7 +121,7 @@ struct ICNSEntry { } }; -Q_DECLARE_TYPEINFO(ICNSEntry, Q_MOVABLE_TYPE); +Q_DECLARE_TYPEINFO(ICNSEntry, Q_RELOCATABLE_TYPE); class QICNSHandler : public QImageIOHandler { |