Skip to content

Commit

Permalink
fix(autoware_objects_of_interest_marker_interface): fix bugprone-bran…
Browse files Browse the repository at this point in the history
…ch-clone (#9671)

Signed-off-by: kobayu858 <[email protected]>
  • Loading branch information
kobayu858 authored Dec 25, 2024
1 parent d0c39d3 commit c11d613
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ ColorRGBA ObjectsOfInterestMarkerInterface::getColor(
const ColorName & color_name, const float alpha)
{
switch (color_name) {
case ColorName::GRAY:
return coloring::getGray(alpha);
case ColorName::GREEN:
return coloring::getGreen(alpha);
case ColorName::AMBER:
return coloring::getAmber(alpha);
case ColorName::RED:
return coloring::getRed(alpha);
case ColorName::GRAY:
return coloring::getGray(alpha);
default:
return coloring::getGray(alpha);
}
Expand Down

0 comments on commit c11d613

Please sign in to comment.