Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent contains from borrowing an array #189

Merged
merged 1 commit into from
Mar 7, 2022

Conversation

benjeffery
Copy link
Member

When KAS_GET_TAKES_OWNERSHIP was specified, contains borrowed the array as it used get. This refactors to not use get.

@benjeffery benjeffery force-pushed the fix_contains_borrows branch 2 times, most recently from 8f3f8d1 to df5c555 Compare March 4, 2022 13:01
@codecov
Copy link

codecov bot commented Mar 4, 2022

Codecov Report

Merging #189 (9174d04) into main (be10379) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #189   +/-   ##
=======================================
  Coverage   99.77%   99.77%           
=======================================
  Files          12       12           
  Lines         876      876           
  Branches      136      136           
=======================================
  Hits          874      874           
  Partials        2        2           
Flag Coverage Δ
C 99.77% <ø> (ø)
python 99.77% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 85fb640...9174d04. Read the comment docs.

Copy link
Member

@jeromekelleher jeromekelleher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Just needs a CHANGELOG update?

@mergify mergify bot merged commit 2a4dec3 into tskit-dev:main Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants