QPageLayoutPrivate: remove declaration of the destructor
It's unnecessary (defaulted). The class is meant to be copiable and it can be such as a RO0 class. Change-Id: I179bf33f1b50e0c474c9b7938440e720f558b8fe Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
e73bb604d8
commit
9f03c64af7
@ -72,7 +72,6 @@ public:
|
||||
QPageLayoutPrivate(const QPageSize &pageSize, QPageLayout::Orientation orientation,
|
||||
const QMarginsF &margins, QPageLayout::Unit units,
|
||||
const QMarginsF &minMargins);
|
||||
~QPageLayoutPrivate();
|
||||
|
||||
bool operator==(const QPageLayoutPrivate &other) const;
|
||||
bool isEquivalentTo(const QPageLayoutPrivate &other) const;
|
||||
@ -124,10 +123,6 @@ QPageLayoutPrivate::QPageLayoutPrivate(const QPageSize &pageSize, QPageLayout::O
|
||||
setDefaultMargins(minMargins);
|
||||
}
|
||||
|
||||
QPageLayoutPrivate::~QPageLayoutPrivate()
|
||||
{
|
||||
}
|
||||
|
||||
bool QPageLayoutPrivate::operator==(const QPageLayoutPrivate &other) const
|
||||
{
|
||||
return m_pageSize == other.m_pageSize
|
||||
|
Loading…
x
Reference in New Issue
Block a user