Skip to content

Commit a62a650

Browse files
committed
[core] Remove dead code in TCling::InspectMembers
Since the previous commit, IsUnsupportedUniquePointer does not check the number of data members anymore.
1 parent fff03d2 commit a62a650

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

core/metacling/src/TCling.cxx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2764,15 +2764,6 @@ void TCling::InspectMembers(TMemberInspector& insp, const void* obj,
27642764
return;
27652765
}
27662766

2767-
if (TClassEdit::IsUniquePtr(cl->GetName())) {
2768-
// Ignore error caused by the inside of std::unique_ptr
2769-
// This is needed solely because of rootclingIO's IsUnsupportedUniquePointer
2770-
// which checks the number of elements in the GetListOfRealData.
2771-
// If this usage is removed, this can be replaced with a return statement.
2772-
// See https://github.com/root-project/root/issues/13574
2773-
isTransient = true;
2774-
}
2775-
27762767
const char* cobj = (const char*) obj; // for ptr arithmetics
27772768

27782769
// Treat the case of std::complex in a special manner. We want to enforce

0 commit comments

Comments
 (0)