summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2019-05-13 19:04:38 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2019-05-14 17:31:35 +0000
commit1df98e6bb9d0319fb9cdfb46b689cc882a775a78 (patch)
tree906f02dd6f709fad591a733a1415311f9fc9725b /src/corelib/tools
parent7f35255d87dfa4249cb21dcadf407dd78b48296a (diff)
QSharedData: unexport in Qt 6
It's fully inlined anyhow. Change-Id: I8cb78ad6f75d3cc3b27cf91a3ba271cf312c9555 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools')
-rw-r--r--src/corelib/tools/qshareddata.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/corelib/tools/qshareddata.h b/src/corelib/tools/qshareddata.h
index c29a509209..16bbc88143 100644
--- a/src/corelib/tools/qshareddata.h
+++ b/src/corelib/tools/qshareddata.h
@@ -52,7 +52,11 @@ QT_BEGIN_NAMESPACE
template <class T> class QSharedDataPointer;
-class Q_CORE_EXPORT QSharedData
+class
+#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
+Q_CORE_EXPORT
+#endif
+QSharedData
{
public:
mutable QAtomicInt ref;