From 83a88f2b49fda19e835c357b3a49beefbbc3df38 Mon Sep 17 00:00:00 2001 From: Vincenzo Eduardo Padulano Date: Mon, 10 Nov 2025 21:49:05 +0100 Subject: [PATCH] [DO NOT MERGE] Test #20354 - 1 --- tree/ntuple/test/StreamerField.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tree/ntuple/test/StreamerField.hxx b/tree/ntuple/test/StreamerField.hxx index cf5d29d4d26bc..b4f9ca42accf5 100644 --- a/tree/ntuple/test/StreamerField.hxx +++ b/tree/ntuple/test/StreamerField.hxx @@ -67,15 +67,17 @@ class IgnoreUnsplitComment { // Test streamer field with polymorphic type struct PolyBase { - virtual ~PolyBase() {} + virtual ~PolyBase() = default; int x; }; struct PolyA : public PolyBase { + ~PolyA() override = default; int a; }; struct PolyB : public PolyBase { + ~PolyB() override = default; int b; };