Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
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
[NFC] TClass slight code cleanup
  • Loading branch information
pcanal committed Oct 22, 2020
commit a16c502f24f5966a6a78c7b9e918f732651f55c7
6 changes: 3 additions & 3 deletions core/meta/src/TClass.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -3602,7 +3602,8 @@ TList *TClass::GetListOfBases()
LoadClassInfo();
}
}
if (!fClassInfo) return 0;
if (!fClassInfo)
return nullptr;

if (!gInterpreter)
Fatal("GetListOfBases", "gInterpreter not initialized");
Expand Down Expand Up @@ -3695,9 +3696,8 @@ TList *TClass::CreateListOfDataMembers(std::atomic<TListOfDataMembers*> &data, T
if (fCanLoadClassInfo && fState == kHasTClassInit) {
// The members are in our ProtoClass; we don't need the class info.
TProtoClass *proto = TClassTable::GetProtoNorm(GetName());
if (proto && proto->FillTClass(this)) {
if (proto && proto->FillTClass(this))
return data;
}
}

data = new TListOfDataMembers(this, selection);
Expand Down