Fix some extra semicolon warnings
Fixes: QTBUG-112648 Pick-to: 6.5 Change-Id: I71446459c7fd6018ecb4deb60a7b9b412c0972ba Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
a43f349f9c
commit
588eab99d2
@ -27,10 +27,10 @@
|
|||||||
# define Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type) typedef struct __ ## type * type ## Ref
|
# define Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type) typedef struct __ ## type * type ## Ref
|
||||||
#endif
|
#endif
|
||||||
#ifndef Q_FORWARD_DECLARE_CG_TYPE
|
#ifndef Q_FORWARD_DECLARE_CG_TYPE
|
||||||
#define Q_FORWARD_DECLARE_CG_TYPE(type) typedef const struct type *type ## Ref;
|
# define Q_FORWARD_DECLARE_CG_TYPE(type) typedef const struct type *type##Ref
|
||||||
#endif
|
#endif
|
||||||
#ifndef Q_FORWARD_DECLARE_MUTABLE_CG_TYPE
|
#ifndef Q_FORWARD_DECLARE_MUTABLE_CG_TYPE
|
||||||
#define Q_FORWARD_DECLARE_MUTABLE_CG_TYPE(type) typedef struct type *type ## Ref;
|
# define Q_FORWARD_DECLARE_MUTABLE_CG_TYPE(type) typedef struct type *type##Ref
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,8 +23,10 @@ public:
|
|||||||
|
|
||||||
friend bool operator==(const QTableWidgetSelectionRange &lhs,
|
friend bool operator==(const QTableWidgetSelectionRange &lhs,
|
||||||
const QTableWidgetSelectionRange &rhs) noexcept
|
const QTableWidgetSelectionRange &rhs) noexcept
|
||||||
{ return lhs.m_top == rhs.m_top && lhs.m_left == rhs.m_left
|
{
|
||||||
&& lhs.m_bottom == rhs.m_bottom && lhs.m_right == rhs.m_right; };
|
return lhs.m_top == rhs.m_top && lhs.m_left == rhs.m_left && lhs.m_bottom == rhs.m_bottom
|
||||||
|
&& lhs.m_right == rhs.m_right;
|
||||||
|
}
|
||||||
friend bool operator!=(const QTableWidgetSelectionRange &lhs,
|
friend bool operator!=(const QTableWidgetSelectionRange &lhs,
|
||||||
const QTableWidgetSelectionRange &rhs) noexcept
|
const QTableWidgetSelectionRange &rhs) noexcept
|
||||||
{ return !(lhs == rhs); }
|
{ return !(lhs == rhs); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user