Skip to content

Commit

Permalink
fix(autoware_perception_rviz_plugin): fix passedByValue (#8192)
Browse files Browse the repository at this point in the history
* fix: passedByValue

Signed-off-by: bathteayo <105347690+bathteayo@users.noreply.github.com>

* fix:passedByValue

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>

---------

Signed-off-by: bathteayo <105347690+bathteayo@users.noreply.github.com>
Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
Co-authored-by: kobayu858 <yutaro.kobayashi@tier4.jp>
  • Loading branch information
bathteayo and kobayu858 committed Aug 2, 2024
1 parent 2e7eb3e commit b00e8e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ get_2d_shape_marker_ptr(
AUTOWARE_PERCEPTION_RVIZ_PLUGIN_PUBLIC visualization_msgs::msg::Marker::SharedPtr
get_label_marker_ptr(
const geometry_msgs::msg::Point & centroid, const geometry_msgs::msg::Quaternion & orientation,
const std::string label, const std_msgs::msg::ColorRGBA & color_rgba);
const std::string & label, const std_msgs::msg::ColorRGBA & color_rgba);

AUTOWARE_PERCEPTION_RVIZ_PLUGIN_PUBLIC visualization_msgs::msg::Marker::SharedPtr
get_existence_probability_marker_ptr(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ visualization_msgs::msg::Marker::SharedPtr get_uuid_marker_ptr(

visualization_msgs::msg::Marker::SharedPtr get_label_marker_ptr(
const geometry_msgs::msg::Point & centroid, const geometry_msgs::msg::Quaternion & orientation,
const std::string label, const std_msgs::msg::ColorRGBA & color_rgba)
const std::string & label, const std_msgs::msg::ColorRGBA & color_rgba)
{
auto marker_ptr = std::make_shared<Marker>();
marker_ptr->type = visualization_msgs::msg::Marker::TEXT_VIEW_FACING;
Expand Down

0 comments on commit b00e8e9

Please sign in to comment.