D27632: Implement UString operator= to make gcc happy

Harri Porten noreply at phabricator.kde.org
Sat Apr 11 22:22:53 BST 2020


porten accepted this revision.
porten added a comment.
This revision is now accepted and ready to land.


  I now see that the member is kept as a RefPtr. Unlike the previously used raw pointer I now understand why the the assignment operator can be implemented that simple.
  
  For completness: the gcc switch that triggers the warning is -Wdeprecated-copy

REPOSITORY
  R314 KJs

BRANCH
  master

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

To: aacid, porten
Cc: porten, kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200411/f533b55e/attachment.html>


More information about the Kde-frameworks-devel mailing list