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

Fix C4459 warning in custom_op_lite.h #751

Merged
merged 5 commits into from
Jun 25, 2024

Conversation

skyline75489
Copy link
Collaborator

@skyline75489 skyline75489 commented Jun 21, 2024

Fix C4459: declaration of 'api' hides global declaration.

The existing api is Ort::api defined in onnxruntime_api.h. Renaming the parameter name to avoid collision.

@skyline75489 skyline75489 requested a review from a team as a code owner June 21, 2024 05:28
xadupre
xadupre previously approved these changes Jun 21, 2024
@skyline75489
Copy link
Collaborator Author

The CI is green. I think it's ready.

@skyline75489 skyline75489 merged commit 0f1f454 into microsoft:main Jun 25, 2024
45 checks passed
@skyline75489 skyline75489 deleted the jialli/api-redef-warning branch June 25, 2024 02:28
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.

3 participants