Commit dbe9645e authored by Fabian Vogt's avatar Fabian Vogt
Browse files

Fix build with GCC 12 (standard attributes in middle of decl-specifiers)

"static Q_REQUIRED_RESULT foo bar()" -> "Q_REQUIRED_RESULT static foo bar()"

(cherry picked from commit e0b0ae66)
parent bca5cb54
Pipeline #132488 skipped
......@@ -41,7 +41,7 @@ public:
void save(const CollectionExpirySettings &collectionExpirySettings, Akonadi::Collection &collection, bool saveSettings, bool expireNow);
Q_REQUIRED_RESULT CollectionExpirySettings settings() const;
void hideExpireNowButton();
static Q_REQUIRED_RESULT bool canHandle(const Akonadi::Collection &col);
Q_REQUIRED_RESULT static bool canHandle(const Akonadi::Collection &col);
void saveAndExpireRequested();
void configChanged(bool changed = true);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment