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

Add some const to TLVReader get methods #28167

Merged
merged 3 commits into from
Jul 24, 2023

Conversation

andy31415
Copy link
Contributor

Unfortunately buffer gets are not possible to be const yet because those may move the current backing buffer (even though we probably are never spanning multiple buffers for our TLV readers).

For now at least make the integer/float/bool getters const.

Copy link
Contributor

@bzbarsky-apple bzbarsky-apple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@mergify mergify bot merged commit a4dd847 into project-chip:master Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants