aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorVÖRÖSKŐI András <voroskoi@gmail.com>2022-07-17 22:42:31 +0200
committerVeikka Tuominen <git@vexu.eu>2022-07-22 19:25:38 +0300
commitd925d19cfcabd96fdc4459e11ecb85a4f42ec655 (patch)
tree40a6e32e492f72d72b21f38cba694d3e253e0956 /src/codegen
parentd1d892c83ca7beaf235147341b7e68d3619dd829 (diff)
downloadzig-d925d19cfcabd96fdc4459e11ecb85a4f42ec655.tar.gz
zig-d925d19cfcabd96fdc4459e11ecb85a4f42ec655.zip
PriorityQueue: use compareFn in update()
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
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions