summaryrefslogtreecommitdiffstats
path: root/src/network/access/qnetworkaccesscache_p.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-04-01 09:39:11 +0200
committerMarc Mutz <marc.mutz@qt.io>2022-04-06 12:44:40 +0200
commit20e6a049fee48e876c8c6903101b58f918b5aab2 (patch)
treedddd03d6a90dcf5711f70a2e094925562bea8772 /src/network/access/qnetworkaccesscache_p.h
parent787d178b19587731fa9e78d37a053bd75308eba6 (diff)
QtNetwork: sweep Q_DECLARE_METATYPE → QT_DECL_METATYPE_EXTERN [2/2]: private API
It's one of our best tools to improve compile times. Can't backport to Qt 6.2 because the macros don't exist there. Pick-to: 6.3 Task-number: QTBUG-102206 Change-Id: Ic8f3870d8eec6211c4be506dc67717cc4e0ff7d6 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/network/access/qnetworkaccesscache_p.h')
-rw-r--r--src/network/access/qnetworkaccesscache_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/access/qnetworkaccesscache_p.h b/src/network/access/qnetworkaccesscache_p.h
index 3f96c0266a..15c1586f67 100644
--- a/src/network/access/qnetworkaccesscache_p.h
+++ b/src/network/access/qnetworkaccesscache_p.h
@@ -123,6 +123,7 @@ private:
QT_END_NAMESPACE
-Q_DECLARE_METATYPE(QNetworkAccessCache::CacheableObject*)
+QT_DECL_METATYPE_EXTERN_TAGGED(QNetworkAccessCache::CacheableObject*,
+ QNetworkAccessCache__CacheableObject_ptr, /* not exported */)
#endif