[pim/kdepim-addons] pimautogeneratetext/src: Add missing [[nodiscard]]

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit d148d81906adafd337ec31b3f4197c6a339b9283 by Laurent Montel.
Committed on 15/08/2026 at 12:33.
Pushed by mlaurent into branch 'master'.

Add missing [[nodiscard]]

M  +1    -1    pimautogeneratetext/src/autogenerateconfigureaskinfo.h

https://invent.kde.org/pim/kdepim-addons/-/commit/d148d81906adafd337ec31b3f4197c6a339b9283

diff --git a/pimautogeneratetext/src/autogenerateconfigureaskinfo.h b/pimautogeneratetext/src/autogenerateconfigureaskinfo.h
index 124f8c8f2..1617a7cdd 100644
--- a/pimautogeneratetext/src/autogenerateconfigureaskinfo.h
+++ b/pimautogeneratetext/src/autogenerateconfigureaskinfo.h
@@ -26,7 +26,7 @@ public:
 
     [[nodiscard]] bool operator==(const AutogenerateConfigureAskInfo &other) const;
 
-    int order() const;
+    [[nodiscard]] int order() const;
     void setOrder(int newOrder);
 
 private:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.