update() calls mem.indexOfScalar() which uses `==` for comparing items,
which fails when the operator is not supported.
As PirorityQueue needs a comparing function anyway we can use `.eq` results
to identify matching objects.
closes #9918
d925d19cfcVÖRÖSKŐI András committed on 7/22/2022, 4:25:38 PM· committed by Veikka Tuominenparentd1d892c