D24930: Fix warnings "implicitly-declared Rect& Rect::operator=(const Rect&) is deprecated" from GCC 9

Albert Astals Cid noreply at phabricator.kde.org
Thu Oct 24 19:41:08 BST 2019

aacid added a comment.

  this is a tricky one, on one hand, yes this fixes the warning and behaves like it used to, so that's "good"
  On the other hand introduces an imbalance in which the copy constructor calls normalize but the assignment operator doesn't, think that's "bad"
  What do you think about actually implementing the operator= and calling normalize in it?

  R331 Kig


To: yurchor, #kde_edu
Cc: aacid, kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20191024/896f3802/attachment.html>

More information about the kde-edu mailing list