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
|
||||
#endif
|
||||
#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
|
||||
#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
|
||||
|
||||
|
||||
|
@ -23,8 +23,10 @@ public:
|
||||
|
||||
friend bool operator==(const QTableWidgetSelectionRange &lhs,
|
||||
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,
|
||||
const QTableWidgetSelectionRange &rhs) noexcept
|
||||
{ return !(lhs == rhs); }
|
||||
|
Loading…
Reference in New Issue
Block a user