error: attribute ignored [-Werror=attributes]
# define Q_REQUIRED_RESULT [[nodiscard]]
This commit is contained in:
parent
42fedfc262
commit
0fb54f73c7
|
@ -80,8 +80,8 @@ private:
|
|||
void ToggleSectionDetails(bool select);
|
||||
void ToggledPieceItem(QTableWidgetItem *item);
|
||||
|
||||
static Q_REQUIRED_RESULT auto PrepareInLayoutColumnCell(const VPiece &det, quint32 id) -> QTableWidgetItem *;
|
||||
static Q_REQUIRED_RESULT auto PreparePieceNameColumnCell(const VPiece &det) -> QTableWidgetItem *;
|
||||
Q_REQUIRED_RESULT static auto PrepareInLayoutColumnCell(const VPiece &det, quint32 id) -> QTableWidgetItem *;
|
||||
Q_REQUIRED_RESULT static auto PreparePieceNameColumnCell(const VPiece &det) -> QTableWidgetItem *;
|
||||
};
|
||||
|
||||
#endif // VWIDGETDETAILS_H
|
||||
|
|
Loading…
Reference in New Issue
Block a user