Skip to content

Commit

Permalink
[meta] Clarify comment in TCling::InspectMembers
Browse files Browse the repository at this point in the history
  • Loading branch information
pcanal committed May 28, 2024
1 parent 3471db7 commit 1024898
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/metacling/src/TCling.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2719,8 +2719,9 @@ void TCling::InspectMembers(TMemberInspector& insp, const void* obj,
if (TClassEdit::IsUniquePtr(cl->GetName())) {
// Ignore error caused by the inside of std::unique_ptr
// This is needed solely because of rootclingIO's IsUnsupportedUniquePointer
// which check the numbers of data members.
// If this usage is remove, this can be replace with a return statement.
// which checks the number of elements in the GetListOfRealData.
// If this usage is removed, this can be replaced with a return statement.
// See https://github.com/root-project/root/issues/13574
isTransient = true;
}

Expand Down

0 comments on commit 1024898

Please sign in to comment.