Skip to content
Snippets Groups Projects
Commit 9f65d314 authored by Oksana Shadura's avatar Oksana Shadura Committed by Vassil Vassilev
Browse files

Fix in RDF and cxxmodules

It is fixing:
..root/tree/dataframe/src/RDataFrame.cxx:789:6: error: reference to 'RDF' is ambiguous
   : RDF::RInterface<RDFDetail::RLoopManager>(
     ^
In module 'ROOTDataFrame' imported ..root/tree/dataframe/src/RDataFrame.cxx:14:
..include/ROOT/RCutFlowReport.hxx:29:11: note: candidate found by name lookup is 'ROOT::RDF'
namespace RDF {
          ^
..root/tree/dataframe/src/RDataFrame.cxx:721:11: note: candidate found by name lookup is 'ROOT::Detail::RDF'
namespace RDF {
          ^
..tree/dataframe/src/RDataFrame.cxx:789:11: error: member initializer (null) does not name a non-static data member or base class
   : RDF::RInterface<RDFDetail::RLoopManager>(
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parent 1a24e092
No related branches found
No related tags found
No related merge requests found
......@@ -786,7 +786,7 @@ RDataFrame::RDataFrame(std::string_view treeName, std::string_view filenameglob,
/// See RInterface for the documentation of the methods available.
RDataFrame::RDataFrame(std::string_view treeName, const std::vector<std::string> &fileglobs,
const ColumnNames_t &defaultBranches)
: RDF::RInterface<RDFDetail::RLoopManager>(
: RInterface<RDFDetail::RLoopManager>(
std::make_shared<RDFDetail::RLoopManager>(nullptr, defaultBranches))
{
std::string treeNameInt(treeName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment