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 authored and camilasan committed Apr 23, 2024
1 parent 510b3ed commit 8f6c19e
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 8f6c19e

Please sign in to comment.