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. Task-number: QTBUG-104164 Change-Id: I2e98782160cccb9c0f59a68e67ffd29fec42b728 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit 2a76cf81811c9406c75726d7743a28ec79fadb37) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
c6f7b8aa46
commit
b04a8a90f8
@ -112,11 +112,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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user