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

[C++] stl_emulation span::count_ is not const anymore (#7226) #7227

Merged

Conversation

avaliente-bc
Copy link
Contributor

@avaliente-bc avaliente-bc commented Apr 6, 2022

In C++ we cannot have both assignment operator and const member.
Since span::operator= is defined, span::count_ constness must be removed.

This fixes a build issue with C++ IAR compiler

In C++ we cannot have both assignment operator and const member. Since
span::operator= is defined, span::count_ constness must be removed.
@dbaileychess dbaileychess merged commit 20aad0c into google:master Apr 6, 2022
@dbaileychess
Copy link
Collaborator

Thanks!

@dbaileychess
Copy link
Collaborator

Fixes #7226

@avaliente-bc
Copy link
Contributor Author

Hello,
May I ask if you know approximatively when a release including this fix will be made ?
Thanks!

ltoenning added a commit to ltoenning/BehaviorTree.CPP that referenced this pull request May 20, 2024
Backport/update from upstream flatbuffers repository.
Change taken from google/flatbuffers#7227
ltoenning added a commit to ltoenning/BehaviorTree.CPP that referenced this pull request May 20, 2024
Backport/update from upstream flatbuffers repository.
Change taken from google/flatbuffers#7227
ltoenning added a commit to ltoenning/BehaviorTree.CPP that referenced this pull request May 20, 2024
Original author of change: avaliente-bc
Backport/update from upstream flatbuffers repository.
Change taken from google/flatbuffers#7227
facontidavide pushed a commit to BehaviorTree/BehaviorTree.CPP that referenced this pull request May 30, 2024
* From flatbuffers upstream: Fix compiler error

Original author of change: avaliente-bc
Backport/update from upstream flatbuffers repository.
Change taken from google/flatbuffers#7227

* From flatbuffers upstream: Fix include of string_view with C++17 abseil

Original author of change: ocpalo
Backport/update from upstream flatbuffers repository.
Changes taken from google/flatbuffers#7897.
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.

None yet

2 participants