summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qvariant.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-09-18 10:52:52 +0200
committerUlf Hermann <ulf.hermann@qt.io>2020-09-19 11:14:23 +0200
commitb30801f64db5211bfb4392f13a6ff06d30288cb5 (patch)
tree3560396332a274fb485c57982e844aa6432859f5 /src/corelib/kernel/qvariant.h
parent43108bc6fa76e46c402cbfca7c05d14b977d3060 (diff)
Un-export QVariantRef and QVariantPointer
Templates should not be exported. Change-Id: I1378414a6e146eab125e43670e538afec00cd917 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/kernel/qvariant.h')
-rw-r--r--src/corelib/kernel/qvariant.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/kernel/qvariant.h b/src/corelib/kernel/qvariant.h
index 796dd80fd7..f9d46472b0 100644
--- a/src/corelib/kernel/qvariant.h
+++ b/src/corelib/kernel/qvariant.h
@@ -663,7 +663,7 @@ Q_CORE_EXPORT QDebug operator<<(QDebug, const QVariant::Type);
#endif
template<typename Pointer>
-class Q_CORE_EXPORT QVariantRef
+class QVariantRef
{
private:
const Pointer *m_pointer = nullptr;
@@ -700,7 +700,7 @@ public:
};
template<typename Pointer>
-class Q_CORE_EXPORT QVariantPointer
+class QVariantPointer
{
private:
const Pointer *m_pointer = nullptr;