fzi-forschungszentrum-informatik / Lanelet2

Map handling framework for automated driving
BSD 3-Clause "New" or "Revised" License
799 stars 326 forks source link

Remove unused local typedefs #312

Closed kosuke55 closed 1 year ago

kosuke55 commented 1 year ago

Hi, thank you for the work.

remove unused local typedefs to fix the following werror.

/opt/ros/humble/include/lanelet2_core/geometry/impl/LineString.h: In function ‘std::pair<double, lanelet::geometry::internal::ProjectedPointInfo<typename lanelet::traits::PointTraits<PointT>::BasicPoint> > lanelet::geometry::internal::signedDistanceImpl(LineStringT, const PointT&)’:
/opt/ros/humble/include/lanelet2_core/geometry/impl/LineString.h:130:9: error: typedef ‘using BasicPoint = PointT’ locally defined but not used [-Werror=unused-local-typedefs]
  130 |   using BasicPoint = PointT;
      |         ^~~~~~~~~~

related: https://github.com/fzi-forschungszentrum-informatik/Lanelet2/pull/300

wep21 commented 1 year ago

@poggenhans I appreciate it if you could release this fix as 1.2.2.