QDebugStateSaver: unexport
We should not export non-polymorophic 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. Change-Id: I204d703498bf42465ea122d1f31c443ea439bd6e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit ba501285b5156c0562282a950008c6aa45b9ce9f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
4454081240
commit
8b67e2381a
@ -211,10 +211,12 @@ public:
|
|||||||
Q_DECLARE_SHARED(QDebug)
|
Q_DECLARE_SHARED(QDebug)
|
||||||
|
|
||||||
class QDebugStateSaverPrivate;
|
class QDebugStateSaverPrivate;
|
||||||
class Q_CORE_EXPORT QDebugStateSaver
|
class QDebugStateSaver
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Q_CORE_EXPORT
|
||||||
QDebugStateSaver(QDebug &dbg);
|
QDebugStateSaver(QDebug &dbg);
|
||||||
|
Q_CORE_EXPORT
|
||||||
~QDebugStateSaver();
|
~QDebugStateSaver();
|
||||||
private:
|
private:
|
||||||
Q_DISABLE_COPY(QDebugStateSaver)
|
Q_DISABLE_COPY(QDebugStateSaver)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user