Skip to content
Merged
Changes from 2 commits
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
2 changes: 2 additions & 0 deletions roofit/roofitcore/src/RooAbsCollection.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,8 @@ RooAbsArg * RooAbsCollection::find(const char *name) const

if (_hashAssistedFind || _list.size() >= _sizeThresholdForMapSearch) {
if (!_hashAssistedFind || !_hashAssistedFind->isValid()) {
if (_hashAssistedFind)
delete _hashAssistedFind;
Comment thread
ferdymercury marked this conversation as resolved.
Outdated
_hashAssistedFind = new HashAssistedFind{_list.begin(), _list.end()};
}

Expand Down