summaryrefslogtreecommitdiffstats
path: root/src/location/places/qplacecategory.h
diff options
context:
space:
mode:
authorAndreas Buhr <andreas@andreasbuhr.de>2021-02-04 12:49:36 +0100
committerAndreas Buhr <andreas@andreasbuhr.de>2021-02-04 13:01:48 +0100
commit752f7c79d3bb8c350139d48c9622d426f7ad86d2 (patch)
tree559c3aec4ce29a03f381eb524ff9ccba4adc1f30 /src/location/places/qplacecategory.h
parentec00d74a0207feaf406773b940621c18eae86182 (diff)
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 all usages of Q_MOVABLE_TYPE by Q_RELOCATABLE_TYPE in QtLocation. As the two are synonymous, this patch should have no impact on users. Task-number: QTBUG-86829 Change-Id: I2f0c6ba29f70abf7c2c467c14b2fa0d37d2a0298 Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Diffstat (limited to 'src/location/places/qplacecategory.h')
-rw-r--r--src/location/places/qplacecategory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/places/qplacecategory.h b/src/location/places/qplacecategory.h
index 56a9854c..ac5838f2 100644
--- a/src/location/places/qplacecategory.h
+++ b/src/location/places/qplacecategory.h
@@ -82,7 +82,7 @@ private:
QSharedDataPointer<QPlaceCategoryPrivate> d;
};
-Q_DECLARE_TYPEINFO(QPlaceCategory, Q_MOVABLE_TYPE);
+Q_DECLARE_TYPEINFO(QPlaceCategory, Q_RELOCATABLE_TYPE);
QT_END_NAMESPACE