Skip to content

Commit fcc92bd

Browse files
committed
[ntuple] Fix warning in RPageSourceFriends
This should fix the following warning in clang 10: ``` warning: class with destructor marked 'final' cannot be inherited from [-Wfinal-dtor-non-final-class] ~RPageSourceFriends() final; ^ .../v7/inc/ROOT/RPageSourceFriends.hxx:39:7: note: mark 'ROOT::Experimental::Detail::RPageSourceFriends' as 'final' to silence this warning class RPageSourceFriends : public RPageSource { ^ ```
1 parent 26d9568 commit fcc92bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tree/ntuple/v7/inc/ROOT/RPageSourceFriends.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace Detail {
3636
\brief Virtual storage that combines several other sources horizontally
3737
*/
3838
// clang-format on
39-
class RPageSourceFriends : public RPageSource {
39+
class RPageSourceFriends final : public RPageSource {
4040
private:
4141
struct ROriginId {
4242
std::size_t fSourceIdx = 0;

0 commit comments

Comments
 (0)