Skip to content

Commit adf029b

Browse files
committed
[core] publish alias since used as args or ret values of public functions
Solution by grasph Fixes #20572
1 parent 5ca7f5c commit adf029b

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

core/cont/inc/TList.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ class TListIter;
3838
class TList : public TSeqCollection {
3939

4040
friend class TListIter;
41-
42-
protected:
41+
public:
4342
using TObjLinkPtr_t = std::shared_ptr<TObjLink>;
43+
protected:
4444
using TObjLinkWeakPtr_t = std::weak_ptr<TObjLink>;
4545

4646
TObjLinkPtr_t fFirst; //! pointer to first entry in linked list
@@ -121,9 +121,9 @@ friend class TListIter;
121121
class TObjLink : public std::enable_shared_from_this<TObjLink> {
122122

123123
friend class TList;
124-
125-
private:
124+
public:
126125
using TObjLinkPtr_t = std::shared_ptr<TObjLink>;
126+
private:
127127
using TObjLinkWeakPtr_t = std::weak_ptr<TObjLink>;
128128

129129
TObjLinkPtr_t fNext;

core/meta/inc/TFileMergeInfo.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ class TIOFeatures;
3939
}
4040

4141
class TFileMergeInfo {
42-
private:
42+
public:
4343
using TIOFeatures = ROOT::TIOFeatures;
44-
44+
private:
4545
TFileMergeInfo() = delete;
4646
TFileMergeInfo(const TFileMergeInfo&) = delete;
4747
TFileMergeInfo& operator=(const TFileMergeInfo&) = delete;

geom/geom/inc/TGeoTessellated.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include "TGeoBBox.h"
1919

2020
class TGeoFacet {
21+
public:
2122
using Vertex_t = Tessellated::Vertex_t;
2223
using VertexVec_t = Tessellated::VertexVec_t;
2324

tree/tree/inc/TBranch.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ class TBulkBranchRead {
9191
}
9292

9393
class TBranch : public TNamed, public TAttFill {
94+
public:
9495
using TIOFeatures = ROOT::TIOFeatures;
9596

9697
protected:

tree/tree/inc/TLeaf.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,12 @@ class TLeaf : public TNamed {
6060

6161
virtual Int_t GetOffsetHeaderSize() const {return 0;}
6262

63-
protected:
63+
public:
6464

6565
using Counts_t = std::vector<Int_t>;
66+
67+
protected:
68+
6669
struct LeafCountValues {
6770
Counts_t fValues;
6871
Long64_t fStartEntry{-1}; ///<! entry number of corresponding to element 0 of the vector.

0 commit comments

Comments
 (0)