diff --git a/simulation/traffic_simulator/src/entity/ego_entity.cpp b/simulation/traffic_simulator/src/entity/ego_entity.cpp index f511c3d261b..ce326090f58 100644 --- a/simulation/traffic_simulator/src/entity/ego_entity.cpp +++ b/simulation/traffic_simulator/src/entity/ego_entity.cpp @@ -286,7 +286,7 @@ auto EgoEntity::requestSpeedChange( auto EgoEntity::requestSynchronize( const std::string & /*target_name*/, const LaneletPose & /*target_sync_pose*/, - const LaneletPose & /*entity_targe*/ t, const double /*target_speed*/, const double /*tolerance*/) + const LaneletPose & /*entity_target*/, const double /*target_speed*/, const double /*tolerance*/) -> bool { THROW_SYNTAX_ERROR("Request synchronize is only for non-ego entities.");