KEmailSettings: Delete copy constructor and assignment operator
ClosedPublic

Authored by aacid on Jan 9 2019, 8:47 PM.

Details

Summary

If someone was using them, it'd crash since it was raw-copying the d pointer
so you would end up with a double delete.

This is BIC, but IMHO it's fine, whoever gets a compiler failure has a bug to fix

Diff Detail

Repository
R237 KConfig
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 6875
Build 6893: arc lint + arc unit
aacid created this revision.Jan 9 2019, 8:47 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptJan 9 2019, 8:47 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
aacid requested review of this revision.Jan 9 2019, 8:47 PM
vkrause accepted this revision.Jan 10 2019, 7:39 PM
This revision is now accepted and ready to land.Jan 10 2019, 7:39 PM
This revision was automatically updated to reflect the committed changes.