D18134: KEncodingProber: Delete copy constructor and assignment operator

Albert Astals Cid noreply at phabricator.kde.org
Wed Jan 9 20:43:57 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 BIC, but IMHO it's fine, whoever gets a compiler failure has a bug to fix

REPOSITORY
  R270 KCodecs

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D18134

AFFECTED FILES
  src/kencodingprober.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/ba1dfc67/attachment.html>


More information about the Kde-frameworks-devel mailing list