D26585: Get rid of -Wdeprecated-copy warning
Ismael Asensio
noreply at phabricator.kde.org
Sat Jan 11 16:47:57 GMT 2020
iasensio created this revision.
iasensio added reviewers: elvisangelaccio, Dolphin.
Herald added a project: Dolphin.
Herald added a subscriber: kfm-devel.
iasensio requested review of this revision.
REVISION SUMMARY
Remove the explicit copy constructor of `KItemListStyleOption`, since it does not
add any logic to what the implicit copy constructor does, but triggers a compiler
warning if we don't overload `operator=` too.
TEST PLAN
Compiles without `-Wdeprecated-copy` warning
No behavior changes
REPOSITORY
R318 Dolphin
BRANCH
deprecated_copy_remove (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D26585
AFFECTED FILES
src/kitemviews/kitemliststyleoption.cpp
src/kitemviews/kitemliststyleoption.h
To: iasensio, elvisangelaccio, #dolphin
Cc: kfm-devel, pberestov, iasensio, fprice, MrPepe, fbampaloukas, alexde, Codezela, feverfew, meven, spoorun, navarromorales, firef, ngraham, andrebarros, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20200111/1e6ecff3/attachment.htm>
More information about the kfm-devel
mailing list