Skip to content

Commit

Permalink
Revert "[ROOT6] RPageSinkFile is now in ROOT::Experimental::Internal …
Browse files Browse the repository at this point in the history
…namespace"
  • Loading branch information
iarspider authored Feb 22, 2024
1 parent 306f63b commit 3fd2023
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@
#include <ROOT/RPageStorageFile.hxx>
using ROOT::Experimental::RNTupleModel;
using ROOT::Experimental::RNTupleWriteOptions;
using ROOT::Experimental::Detail::RPageSinkFile;
#if ROOT_VERSION_CODE < ROOT_VERSION(6, 31, 0)
using ROOT::Experimental::RNTupleWriter;
using ROOT::Experimental::Detail::RPageSinkFile;
#define MakeRNTupleWriter std::make_unique<RNTupleWriter>
#else
#define MakeRNTupleWriter ROOT::Experimental::Internal::CreateRNTupleWriter
using ROOT::Experimental::Internal::RPageSinkFile;
#endif

#include "TObjString.h"
Expand Down
3 changes: 1 addition & 2 deletions PhysicsTools/NanoAOD/plugins/rntuple/NanoAODRNTuples.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@
#include <ROOT/RPageStorageFile.hxx>
using ROOT::Experimental::RNTupleModel;
using ROOT::Experimental::RNTupleWriteOptions;
using ROOT::Experimental::Detail::RPageSinkFile;
#if ROOT_VERSION_CODE < ROOT_VERSION(6, 31, 0)
using ROOT::Experimental::RNTupleWriter;
using ROOT::Experimental::Detail::RPageSinkFile;
#define MakeRNTupleWriter std::make_unique<RNTupleWriter>
#else
#define MakeRNTupleWriter ROOT::Experimental::Internal::CreateRNTupleWriter
using ROOT::Experimental::Internal::RPageSinkFile;
#endif

#include "RNTupleFieldPtr.h"
Expand Down

0 comments on commit 3fd2023

Please sign in to comment.