QSvgNode hierarchy: de-inline dtors
Destructors of polymophic classes should be defined out-of-line, even
if empty, to avoid -Wweak-vtable and all the bad side effects that
weak vtables entail.
For the few dtors that were already out-of-line, add the override
keyword, if missing, and standardize on =default instead of {}. Also
move the ~QSvgStructureNode definition out of the QSvgG group and
behind the QSvgStructureNode ctor, where it belongs.
Amends many, but essentially the start of the public history.
When picking back, will just drop changes to classes that had not been
added in that branch. This is a best-effort change for older branches.
Task-number: QTBUG-45582
Pick-to: 6.11 6.8
Change-Id: I34db2f1a9283b4c8ffcaee61321a91dd322d4e45
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>