Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

io: Allow implicit conversion from vector<pair<A<B> > to map<A,B> #17591

Merged
merged 5 commits into from
Feb 8, 2025
Merged
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
4 changes: 3 additions & 1 deletion io/io/src/TStreamerInfo.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2459,7 +2459,9 @@ void TStreamerInfo::BuildOld()

} else if ( (newkind==ROOT::kSTLmap || newkind==ROOT::kSTLmultimap) &&
(oldkind!=ROOT::kSTLmap && oldkind!=ROOT::kSTLmultimap) ) {
element->SetNewType(TVirtualStreamerInfo::kUnsupportedConversion);
// This case was not previously not supported, however it is unclear
// why so we keep it as a separate case for the time behind.
element->Update(oldClass, newClass.GetClass());
} else {
element->Update(oldClass, newClass.GetClass());
}
Expand Down
Loading