Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
17 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
Remove restriction (from circa 2005) that is no longer true.
i.e. map can be split even if we don't have the interpreter info loaded for the pair and we do not even
need a dictionary; we nowadays generate the TClass for most of the std::pairs
  • Loading branch information
pcanal committed Sep 30, 2020
commit 2c274dc4c76d514178ccee7fe33ff7bdd81e9c7f
8 changes: 0 additions & 8 deletions core/meta/src/TClass.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2315,14 +2315,6 @@ Bool_t TClass::CanSplit() const
if (!valueClass->CanSplit()) { This->fCanSplit = 0; return kFALSE; }
if (valueClass->GetCollectionProxy() != 0) { This->fCanSplit = 0; return kFALSE; }

Int_t stl = -TClassEdit::IsSTLCont(GetName(), 0);
if ((stl==ROOT::kSTLmap || stl==ROOT::kSTLmultimap)
&& !valueClass->HasDataMemberInfo())
{
This->fCanSplit = 0;
return kFALSE;
}

This->fCanSplit = 1;
return kTRUE;

Expand Down