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>