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

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

"virtual Q_REQUIRED_RESULT foo bar();" -> "Q_REQUIRED_RESULT virtual foo bar();"

(cherry picked from commit 5c37312c)
parent 47bba41c
Pipeline #124739 passed with stage
in 2 minutes and 37 seconds
......@@ -54,7 +54,7 @@ public:
*/
virtual void setReadOnly(bool readOnly) = 0;
virtual Q_REQUIRED_RESULT bool hasNoSavedData() const
Q_REQUIRED_RESULT virtual bool hasNoSavedData() const
{
return false;
}
......
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