-
Notifications
You must be signed in to change notification settings - Fork 33
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 clone method to Reply #290
Conversation
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
PR missing one of the required labels: {'internal', 'dependencies', 'bug', 'new feature', 'documentation', 'enhancement', 'breaking-change'} |
include/zenoh/api/reply.hxx
Outdated
@@ -84,6 +84,16 @@ class Reply : public Owned<::z_owned_reply_t> { | |||
return {}; | |||
} | |||
#endif | |||
|
|||
/// @brief Construct a a shallow copy of this Reply. | |||
/// This can be used, to send reply replies outside of ``Queryable`` callback. |
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.
the documentation is wrong, since it is describes the behavior of Query clone.
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.
Can you help me with right documentation here ?
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.
I think just /// @brief Construct a a shallow copy of this Reply.
should be good enough.
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.
Sorry, could you also remove an extra a
before shallow_copy
?
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Add clone method to Reply
Required here https://github.com/ros2/rmw_zenoh/pull/311/files