]> cloud.milkyroute.net Git - dolphin.git/commit
Get rid of -Wdeprecated-copy warning
authorIsmael Asensio <isma.af@gmail.com>
Sun, 22 Dec 2019 16:46:48 +0000 (17:46 +0100)
committerIsmael Asensio <isma.af@gmail.com>
Sun, 12 Jan 2020 18:00:25 +0000 (19:00 +0100)
commita8dd6998407cd27daf160c45ae77a8d0ae5cf1f7
tree115572f25becf8ab525d13af52bc2f2ed6748dc6
parent17e127edcd25f1fa62b1ac1940149763f88291fc
Get rid of -Wdeprecated-copy warning

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

Reviewers: elvisangelaccio, #dolphin

Reviewed By: elvisangelaccio, #dolphin

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D26585
src/kitemviews/kitemliststyleoption.cpp
src/kitemviews/kitemliststyleoption.h