QSvgRefCounter: add missing move SMFs
As pointed out by Coverity, the class, by way of user-defined copy
special member functions suppressing them, lacks move SMFs.
For a smart pointer that implements copy as a ref-count increase,
that's a pretty big omission, so fix it in all active branches.
We control all users of the class, and all payloads, and while they're
not all just memory, there are also no xvalues of the types atm, so we
can use the pure_swap move-assingment strategy. It is unlikely that
code in QtSvg would accidentally come to depends on the difference
between pure_swap and move_and_swap, so use the more efficient version.
Amends the start of the public history (which, in 2011, could already
have added these SMFs, e.g. QPen had move-assignment already in 2009).
Pick-to: 6.11 6.8
Coverity-Id: 401500
Change-Id: If2afbbcce6b26c71e4d2801e1bc959180352f073
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>