From 6ecd66da78b72782e06fcff9b6dc131e0b9c019f Mon Sep 17 00:00:00 2001 From: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com> Date: Thu, 16 Jan 2025 11:54:51 +0900 Subject: [PATCH] Update system/autoware_default_adapi/src/planning.cpp Co-authored-by: Ryohsuke Mitsudome <43976834+mitsudome-r@users.noreply.github.com> --- system/autoware_default_adapi/src/planning.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/autoware_default_adapi/src/planning.cpp b/system/autoware_default_adapi/src/planning.cpp index 530ec1028bf9a..0fc92bd8dbb58 100644 --- a/system/autoware_default_adapi/src/planning.cpp +++ b/system/autoware_default_adapi/src/planning.cpp @@ -78,7 +78,7 @@ std::vector::SharedPtr> init_factors( } template -std::vector convert(const std::vector & factors) +std::vector convert([[maybe_unused]] const std::vector & factors) { static_assert(sizeof(T) == 0, "Only specializations of convert can be used."); throw std::logic_error("Only specializations of convert can be used.");