Skip to content

Clean up unused variable in operator[] bindings and enforce return type constness check - #1837

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_968025070
Aug 25, 2026
Merged

Clean up unused variable in operator[] bindings and enforce return type constness check#1837
copybara-service[bot] merged 1 commit into
mainfrom
test_968025070

Conversation

@copybara-service

Copy link
Copy Markdown

Clean up unused variable in operator[] bindings and enforce return type constness check

In 129abed, output_pointee_cc_type was left unused in generate_cc_operator_index_nonmut_impls and generate_cc_operator_index_mut_impls. I was going to just delete it, but realized that the return-type constness check would be lost, so I moved it to the new code below it.

@google-cla

google-cla Bot commented Aug 20, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@copybara-service
copybara-service Bot force-pushed the test_968025070 branch 3 times, most recently from 814752a to db2facf Compare August 25, 2026 17:23
…pe constness check

In 129abed, `output_pointee_cc_type` was left unused in `generate_cc_operator_index_nonmut_impls` and `generate_cc_operator_index_mut_impls`. I was going to just delete it, but realized that the return-type constness check would be lost, so I moved it to the new code below it.

PiperOrigin-RevId: 970648075
@copybara-service
copybara-service Bot merged commit a9875b7 into main Aug 25, 2026
6 of 7 checks passed
@copybara-service
copybara-service Bot deleted the test_968025070 branch August 25, 2026 17:41
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.

0 participants