-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Rename argument array_index to array_indx in json_pointer methods #1980
Conversation
Fixes gcc48 warning: declaration of ‘array_index’ shadows a member of 'this' [-Wshadow]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please check the suggestions. Furthermore, could you please also run make amalgamate
to create the single-header version?
Avoid mix-up with array_index member Co-Authored-By: Niels Lohmann <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Thanks! |
🔖 Release itemThis issue/PR will be part of the next release of the library. This template helps preparing the release notes. Type
Description
|
Fixes gcc48 warning:
declaration of ‘array_index’ shadows a member of 'this' [-Wshadow]