Skip to content

Commit 83a88f2

Browse files
committed
[DO NOT MERGE] Test root-project#20354 - 1
1 parent 3b8fd01 commit 83a88f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tree/ntuple/test/StreamerField.hxx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,17 @@ class IgnoreUnsplitComment {
6767
// Test streamer field with polymorphic type
6868

6969
struct PolyBase {
70-
virtual ~PolyBase() {}
70+
virtual ~PolyBase() = default;
7171
int x;
7272
};
7373

7474
struct PolyA : public PolyBase {
75+
~PolyA() override = default;
7576
int a;
7677
};
7778

7879
struct PolyB : public PolyBase {
80+
~PolyB() override = default;
7981
int b;
8082
};
8183

0 commit comments

Comments
 (0)