QSvgVisitor: de-inline dtor


Destructors of polymorphic classes should be defined out-of-line, even
if empty, to avoid -Wweak-vtable and all the bad side effects that
weak vtables entail.

The dtor of QSvgVisitorImpl is already out-of-line. And the second
derived class is defined in a .cpp, so doesn't need this treatment.

Amends 4806d340947cc452fd99f509cfee70aae14a549c (6.7).

Task-number: QTBUG-45582
Pick-to: 6.11 6.8
Change-Id: Ie3a6a92b9b2423349804ad0075c38d27179c1d24
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commit66fb951acbd0257bb580a4992a9479c2b0a5c9cc
parent1bf60cb521b0e762483366094a92f3bac327e092
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeThu, 30 Apr 2026 09:05:32 +0000