QSvgRefCounter: make (T*) constructor explicit


Smart pointer constructors that model ownership transfer ought to be
explict, for safety: the rhs is not a faithful representation of the
lhs, because of difference in ownership.

QSvgRefCounter's constructor was implicit. Fix it to be explicit. The
only place this matters is where a payload object is insert()ed into a
container of QSvgRefCounters. Port to emplace()ment instead.

Amends the start of the public history.

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