Skip to content

Commit a6a09f4

Browse files
committed
Restored one method
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
1 parent 1604fe9 commit a6a09f4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

rmw_zenoh_cpp/src/detail/liveliness_utils.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,11 @@ std::string Entity::liveliness_keyexpr() const
631631
return this->liveliness_keyexpr_;
632632
}
633633

634+
void Entity::copy_gid(uint8_t out_gid[RMW_GID_STORAGE_SIZE]) const
635+
{
636+
memcpy(out_gid, gid_.data(), RMW_GID_STORAGE_SIZE);
637+
}
638+
634639
///=============================================================================
635640
std::vector<uint8_t> Entity::copy_gid() const
636641
{

0 commit comments

Comments
 (0)