-
Notifications
You must be signed in to change notification settings - Fork 83
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
Remove const from closure params #653
Remove const from closure params #653
Conversation
PR missing one of the required labels: {'documentation', 'breaking-change', 'dependencies', 'new feature', 'bug', 'internal', 'enhancement'} |
923d8ca
to
0733d7c
Compare
include/zenoh-pico/api/types.h
Outdated
|
||
typedef void (*z_id_handler_t)(const z_id_t *id, void *arg); | ||
typedef void (*z_id_handler_t)(z_id_t *id, void *arg); |
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.
z_id_t is non-owned object, there is no benefit in having it non-const, also leads to questions whether the user is in the right to call free on it ?
bb15e3e
to
55642b1
Compare
Closes: #647