Skip to content

Commit 07d8dbd

Browse files
committed
[ntuple] Remove ROOT7 guard from RemoveRNTupleSubFields
1 parent 037534b commit 07d8dbd

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

Diff for: tree/dataframe/inc/ROOT/RDF/InterfaceUtils.hxx

-3
Original file line numberDiff line numberDiff line change
@@ -813,10 +813,7 @@ AddSizeBranches(const std::vector<std::string> &branches, ROOT::RDF::RDataSource
813813
std::vector<std::string> &&colsWithoutAliases, std::vector<std::string> &&colsWithAliases);
814814

815815
void RemoveDuplicates(ColumnNames_t &columnNames);
816-
817-
#ifdef R__HAS_ROOT7
818816
void RemoveRNTupleSubFields(ColumnNames_t &columnNames);
819-
#endif
820817

821818
} // namespace RDF
822819
} // namespace Internal

Diff for: tree/dataframe/inc/ROOT/RDF/RLoopManager.hxx

-2
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,6 @@ std::shared_ptr<ROOT::Detail::RDF::RLoopManager>
351351
CreateLMFromTTree(std::string_view datasetName, const std::vector<std::string> &fileNameGlobs,
352352
const std::vector<std::string> &defaultColumns, bool checkFile = true);
353353

354-
#ifdef R__HAS_ROOT7
355354
/// \brief Create an RLoopManager that reads an RNTuple.
356355
/// \param[in] datasetName Name of the RNTuple
357356
/// \param[in] fileNameGlob File name (or glob) in which the RNTuple is stored.
@@ -393,7 +392,6 @@ std::shared_ptr<ROOT::Detail::RDF::RLoopManager> CreateLMFromFile(std::string_vi
393392
std::shared_ptr<ROOT::Detail::RDF::RLoopManager> CreateLMFromFile(std::string_view datasetName,
394393
const std::vector<std::string> &fileNameGlobs,
395394
const std::vector<std::string> &defaultColumns);
396-
#endif
397395

398396
} // namespace RDF
399397
} // namespace Detail

Diff for: tree/dataframe/test/dataframe_snapshot_emptyoutput.cxx

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
#include <ROOT/RDataFrame.hxx>
88

9+
#include <thread>
10+
911
class RDFManyBranchTypesTTree : public ::testing::TestWithParam<std::pair<bool, bool>> {
1012
protected:
1113
inline constexpr static auto fgNEvents = 10u;

0 commit comments

Comments
 (0)