Skip to content

Commit

Permalink
[ntuple] fix-up several forward declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
jblomer committed Feb 13, 2024
1 parent aa9b84e commit 31a7e29
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
7 changes: 4 additions & 3 deletions tree/ntuple/v7/inc/ROOT/RField.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,12 @@ class REntry;

namespace Internal {
struct RFieldCallbackInjector;
class RPageStorage;
class RPageSink;
class RPageSource;
// TODO(jblomer): find a better way to not have these three methods in the RFieldBase public API
void CallCommitClusterOnField(RFieldBase &);
void CallConnectPageSinkOnField(RFieldBase &, Internal::RPageSink &, NTupleSize_t firstEntry = 0);
void CallConnectPageSourceOnField(RFieldBase &, Internal::RPageSource &);
void CallConnectPageSinkOnField(RFieldBase &, RPageSink &, NTupleSize_t firstEntry = 0);
void CallConnectPageSourceOnField(RFieldBase &, RPageSource &);
} // namespace Internal

namespace Detail {
Expand Down
2 changes: 0 additions & 2 deletions tree/ntuple/v7/inc/ROOT/RNTuple.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ class RNTuple;
class RNTupleModel;

namespace Internal {
class RPageSink;
class RPageSource;
struct RNTupleTester; // friend of RNTuple
} // namespace Internal

Expand Down
7 changes: 2 additions & 5 deletions tree/ntuple/v7/inc/ROOT/RPageStorageDaos.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,10 @@
namespace ROOT {
namespace Experimental {

namespace Detail {
class RCluster;
class RClusterPool;
} // namespace Detail

namespace Internal {
using ntuple_index_t = std::uint32_t;
class RCluster;
class RClusterPool;
class RDaosPool;
class RDaosContainer;
class RPageAllocatorHeap;
Expand Down

0 comments on commit 31a7e29

Please sign in to comment.