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. Pick-to: 6.6 Change-Id: I204d703498bf42465ea122d1f31c443ea439bd6e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
2bd8e63690
commit
ba501285b5
@ -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