Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
formatting (clang-format)
  • Loading branch information
bellenot committed Oct 2, 2017
commit 0cfa96277fbe27465e948d8018fbcaee4eeb7800
8 changes: 5 additions & 3 deletions core/meta/src/TClass.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2677,8 +2677,10 @@ Int_t TClass::GetBaseClassOffsetRecurse(const TClass *cl)
Int_t off;
TBaseClass *inh;
TObjLink *lnk = 0;
if (fBase.load()==0) lnk = GetListOfBases()->FirstLink();
else lnk = fBase.load()->FirstLink();
if (fBase.load()==0)
lnk = GetListOfBases()->FirstLink();
else
lnk = fBase.load()->FirstLink();

// otherwise look at inheritance tree
while (lnk) {
Expand Down Expand Up @@ -3483,7 +3485,7 @@ TList *TClass::GetListOfBases()
Fatal("GetListOfBases", "gInterpreter not initialized");

R__LOCKGUARD(gInterpreterMutex);
if(!fBase.load()) {
if (!fBase.load()) {
gInterpreter->CreateListOfBaseClasses(this);
}
}
Expand Down
3 changes: 1 addition & 2 deletions core/meta/src/TProtoClass.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,7 @@ void TProtoClass::Delete(Option_t* opt /*= ""*/) {
/// duplicate dictionary is acceptable for namespace or STL collections.

Bool_t TProtoClass::FillTClass(TClass* cl) {
if (cl->fRealData || cl->fBase.load() || cl->fData || cl->fEnums.load()
|| cl->fSizeof != -1 || cl->fCanSplit >= 0
if (cl->fRealData || cl->fBase.load() || cl->fData || cl->fEnums.load() || cl->fSizeof != -1 || cl->fCanSplit >= 0
|| cl->fProperty != (-1) ) {

if (cl->GetCollectionType() != ROOT::kNotSTL) {
Expand Down