You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition, this is a member function that requires no access to member data so should be marked as static. That is also true for the sort_indexes function.
The function used to sort PatCandidates copies the objects in its function arguments:https://github.com/cms-sw/cmssw/blob/master/PhysicsTools/PatAlgos/plugins/PATPackedCandidateProducer.cc#L44
In addition, this is a member function that requires no access to member data so should be marked as
static
. That is also true for thesort_indexes
function.The proper function signature should be
The text was updated successfully, but these errors were encountered: