Review Request 124788: Replace std::auto_ptr with std::unique_ptr

Armin K. krejzi at email.com
Mon Aug 17 13:47:24 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124788/
-----------------------------------------------------------

Review request for KDE Frameworks and Martin Tobias Holmedahl Sandsmark.


Repository: khtml


Description
-------

std::auto_ptr is deprecated and this patch silences a number of compiler warnings when using GCC-5.x.

Other frameworks use std::unique_ptr too and no public headers were changed in the process.

Note that I don't have commit access, and if this change gets accepted, I ask that someone commits it.


Diffs
-----

  src/svg/SVGDocumentExtensions.h 71ad134 
  src/svg/SVGDocumentExtensions.cpp 935fb20 
  src/svg/SVGElement.cpp 2d2e4b3 
  src/svg/SVGMaskElement.h 850df29 
  src/svg/SVGMaskElement.cpp e6039d7 
  src/svg/SVGPatternElement.cpp 5773b9f 
  src/svg/graphics/SVGPaintServerPattern.h 5ba655f 
  src/svg/graphics/SVGPaintServerPattern.cpp 7fcd4f3 

Diff: https://git.reviewboard.kde.org/r/124788/diff/


Testing
-------

It builds!


Thanks,

Armin K.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150817/f7f3fa0e/attachment.html>


More information about the Kde-frameworks-devel mailing list