From 4d94b5c848d52da6383e4c1260ed487c1b476b5f Mon Sep 17 00:00:00 2001 From: Jakob Blomer Date: Tue, 11 Jun 2024 11:27:01 +0200 Subject: [PATCH] [ntuple] minor improvement in RDF DS --- tree/dataframe/inc/ROOT/RNTupleDS.hxx | 5 +++-- tree/dataframe/src/RNTupleDS.cxx | 6 ------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/tree/dataframe/inc/ROOT/RNTupleDS.hxx b/tree/dataframe/inc/ROOT/RNTupleDS.hxx index cc75c6eff23d6..163951b19f90c 100644 --- a/tree/dataframe/inc/ROOT/RNTupleDS.hxx +++ b/tree/dataframe/inc/ROOT/RNTupleDS.hxx @@ -131,8 +131,6 @@ public: std::vector> GetEntryRanges() final; std::string GetLabel() final { return "RNTupleDS"; } - bool SetEntry(unsigned int slot, ULong64_t entry) final; - void Initialize() final; void InitSlot(unsigned int slot, ULong64_t firstEntry) final; void FinalizeSlot(unsigned int slot) final; @@ -141,6 +139,9 @@ public: std::unique_ptr GetColumnReaders(unsigned int /*slot*/, std::string_view /*name*/, const std::type_info &) final; + // Old API, unused + bool SetEntry(unsigned int, ULong64_t) final { return true; } + protected: Record_t GetColumnReadersImpl(std::string_view name, const std::type_info &) final; }; diff --git a/tree/dataframe/src/RNTupleDS.cxx b/tree/dataframe/src/RNTupleDS.cxx index 14eed4095659c..d8de503a17497 100644 --- a/tree/dataframe/src/RNTupleDS.cxx +++ b/tree/dataframe/src/RNTupleDS.cxx @@ -454,12 +454,6 @@ RNTupleDS::GetColumnReaders(unsigned int slot, std::string_view name, const std: return reader; } -bool RNTupleDS::SetEntry(unsigned int, ULong64_t) -{ - // Old API, unsused - return true; -} - void RNTupleDS::PrepareNextRanges() { assert(fNextRanges.empty());