From b30801f64db5211bfb4392f13a6ff06d30288cb5 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Fri, 18 Sep 2020 10:52:52 +0200 Subject: [PATCH] Un-export QVariantRef and QVariantPointer Templates should not be exported. Change-Id: I1378414a6e146eab125e43670e538afec00cd917 Reviewed-by: Lars Knoll --- src/corelib/kernel/qvariant.h | 4 ++-- 1 file 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 -class Q_CORE_EXPORT QVariantRef +class QVariantRef { private: const Pointer *m_pointer = nullptr; @@ -700,7 +700,7 @@ public: }; template -class Q_CORE_EXPORT QVariantPointer +class QVariantPointer { private: const Pointer *m_pointer = nullptr;