We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
RooAbsCollection::find()
1 parent 78d4c82 commit 5616583Copy full SHA for 5616583
1 file changed
roofit/roofitcore/src/RooAbsCollection.cxx
@@ -929,6 +929,8 @@ RooAbsArg * RooAbsCollection::find(const char *name) const
929
930
if (_hashAssistedFind || _list.size() >= _sizeThresholdForMapSearch) {
931
if (!_hashAssistedFind || !_hashAssistedFind->isValid()) {
932
+ if (_hashAssistedFind)
933
+ delete _hashAssistedFind;
934
_hashAssistedFind = new HashAssistedFind{_list.begin(), _list.end()};
935
}
936
0 commit comments