D18138: KRatingPainter: Delete copy constructor and assignment operator
Albert Astals Cid
noreply at phabricator.kde.org
Wed Jan 9 21:27:39 GMT 2019
aacid created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
aacid requested review of this revision.
REVISION 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 SIC, but IMHO it's fine, whoever gets a compiler failure has a bug to fix
REPOSITORY
R236 KWidgetsAddons
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D18138
AFFECTED FILES
src/kratingpainter.h
To: aacid
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190109/b80a48c1/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list