From 1c2127df8f8abac2bcde8b1ff6113f56bd2f536f Mon Sep 17 00:00:00 2001 From: Andreas Rauschert <andreas.rb.rauschert@bmw.de> Date: Mon, 9 Aug 2021 12:05:00 +0200 Subject: [PATCH] Buildfix - define header function inline would otherwise cause a compiler error on multiple usages --- MantleAPI/include/MantleAPI/Traffic/entity_helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MantleAPI/include/MantleAPI/Traffic/entity_helper.h b/MantleAPI/include/MantleAPI/Traffic/entity_helper.h index 608e879c..0c65ca40 100644 --- a/MantleAPI/include/MantleAPI/Traffic/entity_helper.h +++ b/MantleAPI/include/MantleAPI/Traffic/entity_helper.h @@ -21,7 +21,7 @@ namespace mantle_api { -void SetSpeed(mantle_api::IEntity* entity, double velocity) +inline void SetSpeed(mantle_api::IEntity* entity, double velocity) { auto orientation = entity->GetOrientation(); -- GitLab