QSvgRefCounter: add swap() and reset(), remove op=(T*)


Member-swap was just missing, add it. Found while implementing reset()
as a named replacement for the assingment operator from T*, which
shuoldn't exist, as the (T*) constructor is explicit these days.

Use reset() around the code, then drop the assignment operator from T*.

Amends the start of the public history.

Pick-to: 6.11 6.8
Change-Id: I834ac2da035beb29640f63cff75c50ad33c265ca
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
commit133a4318f549d5462bd491b1bbdb15621c21792d
parent7ab8408caa07f245e5e5a079f5074bd4cfcf4a5c
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeWed, 20 May 2026 10:47:03 +0000