Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion tree/ntuple/test/StreamerField.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,26 @@ class IgnoreUnsplitComment {
// Test streamer field with polymorphic type

struct PolyBase {
virtual ~PolyBase() {}
virtual ~PolyBase() = default;
int x;
ClassDef(PolyBase, 3);
};

struct PolyA : public PolyBase {
~PolyA() override = default;
int a;
ClassDefOverride(PolyA, 3);
};

struct PolyB : public PolyBase {
~PolyB() override = default;
int b;
ClassDefOverride(PolyB, 3);
};

struct PolyContainer {
std::unique_ptr<PolyBase> fPoly;
ClassDefNV(PolyContainer, 3);
};

template <typename T>
Expand Down
Loading