QMacAutoReleasePool: unexport

We should not export non-polymorphic classes wholesale. Only export
the non-inline functions instead.

There are no implicitly-declared special member functions in this
class that could cause problems, so we don't need to delay until Qt 7.

Pick-to: 6.6
Task-number: QTBUG-104164
Change-Id: I2e98782160cccb9c0f59a68e67ffd29fec42b728
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
Marc Mutz 2023-06-13 11:49:03 +02:00
parent c41e03008a
commit 2a76cf8181

View File

@ -109,11 +109,11 @@ protected:
T value;
};
class Q_CORE_EXPORT QMacAutoReleasePool
class QMacAutoReleasePool
{
public:
QMacAutoReleasePool();
~QMacAutoReleasePool();
Q_CORE_EXPORT QMacAutoReleasePool();
Q_CORE_EXPORT ~QMacAutoReleasePool();
private:
Q_DISABLE_COPY(QMacAutoReleasePool)
void *pool;