From 447186f80034a9556dfcd66c0c989619207724e2 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 28dba806..5b743fea 100644
--- a/MantleAPI/include/MantleAPI/Traffic/entity_helper.h
+++ b/MantleAPI/include/MantleAPI/Traffic/entity_helper.h
@@ -22,7 +22,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