Skip to content

Commit

Permalink
remove static
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>
  • Loading branch information
zulfaqar-azmi-t4 committed Nov 30, 2023
1 parent a1f0af2 commit 42c271a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ inline std::string toHexString(const unique_identifier_msgs::msg::UUID & id)
return ss.str();
}

static inline boost::uuids::uuid toBoostUUID(const unique_identifier_msgs::msg::UUID & id)
inline boost::uuids::uuid toBoostUUID(const unique_identifier_msgs::msg::UUID & id)
{
boost::uuids::uuid boost_uuid{};
std::copy(id.uuid.begin(), id.uuid.end(), boost_uuid.begin());
return boost_uuid;
}

static inline unique_identifier_msgs::msg::UUID toUUIDMsg(const boost::uuids::uuid & id)
inline unique_identifier_msgs::msg::UUID toUUIDMsg(const boost::uuids::uuid & id)
{
unique_identifier_msgs::msg::UUID ros_uuid{};
std::copy(id.begin(), id.end(), ros_uuid.uuid.begin());
Expand Down

0 comments on commit 42c271a

Please sign in to comment.