Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix dangling reference warning with GCC 14. #760

Merged
merged 13 commits into from
Jan 22, 2025

Conversation

niklas-uhl
Copy link
Member

This seems to be a false positive, but we can get rid of most of the auto&& because construct_buffer_or_rebind always returns a value. This also silences the warning.

@niklas-uhl niklas-uhl requested a review from mschimek January 20, 2025 15:56
@niklas-uhl niklas-uhl merged commit dc69ae1 into main Jan 22, 2025
7 checks passed
@niklas-uhl niklas-uhl deleted the fix/gcc14-dangling-reference branch January 22, 2025 13:27
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants