Make implicitly shared types movable
ClosedPublic

Authored by vkrause on Apr 5 2020, 9:06 AM.

Diff Detail

Repository
R490 KDAV Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
vkrause created this revision.Apr 5 2020, 9:06 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptApr 5 2020, 9:06 AM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
vkrause requested review of this revision.Apr 5 2020, 9:06 AM
ervin requested changes to this revision.Apr 5 2020, 12:50 PM
ervin added inline comments.
src/common/davcollection.cpp
40–41

Just realizing now but if they're all set to = default anyway, why not rely on the rule of zero and simply drop them all?

src/common/daverror.cpp
40–41

Rule of zero candidate as well?

src/common/daverror.h
47

KF style is to put the space before the &

50

same here

src/common/davitem.cpp
36–37

Rule of zero candidate?

src/common/davurl.cpp
34–35

Rule of zero candidate?

38

Space before & in KF style

src/common/davurl.h
39

Space before & in KF style

This revision now requires changes to proceed.Apr 5 2020, 12:50 PM
vkrause added inline comments.Apr 5 2020, 12:54 PM
src/common/davcollection.cpp
40–41

Not an option here as this needs the private class to be fully defined.

ervin added inline comments.Apr 5 2020, 12:57 PM
src/common/davcollection.cpp
40–41

Oh right... bummer...

vkrause updated this revision to Diff 79409.Apr 5 2020, 1:24 PM

coding style fixes

ervin added a comment.Apr 5 2020, 1:42 PM

Couple of style fixes missing, sorry to be picky here :-)

src/common/daverror.cpp
44

Missed style issue here

src/common/davurl.cpp
38

Missed this one

vkrause updated this revision to Diff 79412.Apr 5 2020, 2:39 PM

more coding style fixes

ervin accepted this revision.Apr 5 2020, 2:54 PM
This revision is now accepted and ready to land.Apr 5 2020, 2:54 PM
This revision was automatically updated to reflect the committed changes.