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

Use unique_ptr to manage visited_list_pool_ #474

Merged
merged 2 commits into from
Jul 4, 2023

Conversation

ttsugriy
Copy link
Contributor

Using raw pointers is error-prone. For example, previous implementation would leak pool in case it's created and loadIndex is invoked.

@yurymalkov
Copy link
Member

Hi @ttsugriy, it looks like the CI is not passing. Can you please look into that?

@ttsugriy
Copy link
Contributor Author

Sure thing, @yurymalkov, it's due to a difference between macOS and Linux headers. Should be fixed now.

@yurymalkov yurymalkov merged commit 0df757e into nmslib:develop Jul 4, 2023
@yurymalkov
Copy link
Member

Thanks!

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.

2 participants