error: attribute ignored [-Werror=attributes]

#  define Q_REQUIRED_RESULT [[nodiscard]]
develop
Roman Telezhynskyi 2022-08-16 17:28:25 +03:00
parent 42fedfc262
commit 0fb54f73c7
1 changed files with 2 additions and 2 deletions

View File

@ -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