Skip to content

Commit

Permalink
Fix "false" error about bad applying of nodiscard to value type
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra committed Mar 27, 2024
1 parent 709deb7 commit b5f851a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/userstatusselectormodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class UserStatusSelectorModel : public QObject

Q_REQUIRED_RESULT QVariantList clearStageTypes() const;
Q_REQUIRED_RESULT QString clearAtDisplayString() const;
Q_INVOKABLE [[nodiscard]] QString clearAtReadable(const OCC::UserStatus &status) const;
[[nodiscard]] Q_INVOKABLE QString clearAtReadable(const OCC::UserStatus &status) const;

Q_REQUIRED_RESULT QString errorMessage() const;

Expand Down

0 comments on commit b5f851a

Please sign in to comment.