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

[OM] Use standard API for getting the base pointer from a vector. #5338

Merged
merged 1 commit into from
Jun 8, 2023

Conversation

mikeurbach
Copy link
Contributor

This switches to use the data() API, which is how the upstream Python bindings do it. Using begin().base() is
implementation-specific and doesn't work on Windows.

This should fix #5336.

This switches to use the `data()` API, which is how the upstream
Python bindings do it. Using `begin().base()` is
implementation-specific and doesn't work on Windows.

This should fix #5336.
@mikeurbach mikeurbach requested a review from teqdruid June 8, 2023 04:54
@mikeurbach
Copy link
Contributor Author

I don't know how to test this, and I think it is safe, so I'm going to merge this. We can re-open an issue if Windows builds are still not working.

@mikeurbach mikeurbach merged commit a4f0007 into main Jun 8, 2023
5 checks passed
@mikeurbach mikeurbach deleted the mikeurbach/python-om-windows-compat branch June 8, 2023 18:43
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.

[OM][Python] Windows build failure
1 participant