Skip to content

Commit

Permalink
Update system/autoware_default_adapi/src/planning.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Ryohsuke Mitsudome <[email protected]>
  • Loading branch information
satoshi-ota and mitsudome-r authored Jan 16, 2025
1 parent 6b69544 commit 6ecd66d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/autoware_default_adapi/src/planning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ std::vector<typename rclcpp::Subscription<T>::SharedPtr> init_factors(
}

template <class T>
std::vector<T> convert(const std::vector<PlanningFactor> & factors)
std::vector<T> convert([[maybe_unused]] const std::vector<PlanningFactor> & factors)
{
static_assert(sizeof(T) == 0, "Only specializations of convert can be used.");
throw std::logic_error("Only specializations of convert can be used.");
Expand Down

0 comments on commit 6ecd66d

Please sign in to comment.