Fix build with clang 9.0
Needs ReviewPublic

Authored by bero on Sat, Aug 3, 8:51 PM.

Details

Reviewers
None
Group Reviewers
Latte Dock
Summary

Without this patch, trying to build latte-dock with clang 9.0 results in:

`../app/settings/delegates/persistentmenu.cpp:23:41: error: addition of default argument on redeclaration makes this constructor a default constructor
PersistentMenu::PersistentMenu(QWidget *parent = 0)

^        ~

../app/settings/delegates/persistentmenu.h:31:3: note: previous declaration is here

PersistentMenu(QWidget *parent);
^

1 error generated.
`

Test Plan

Install clang 9.0-rc1, try to build latte-dock, see if it succeeds

Diff Detail

Repository
R878 Latte Dock
Lint
Lint Skipped
Unit
Unit Tests Skipped
bero created this revision.Sat, Aug 3, 8:51 PM
Restricted Application added a project: Plasma. · View Herald TranscriptSat, Aug 3, 8:51 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
bero requested review of this revision.Sat, Aug 3, 8:51 PM
bero edited the summary of this revision. (Show Details)Sat, Aug 3, 9:02 PM