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 <claudio.cambra@nextcloud.com>
  • Loading branch information
claucambra authored and camilasan committed Apr 23, 2024
1 parent 510b3ed commit eb291f4
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 eb291f4

Please sign in to comment.