From f911bbd0ef654ee8d4614eff1baf5163fc07751c Mon Sep 17 00:00:00 2001 From: Daisuke Nishimatsu Date: Sun, 19 Jul 2026 18:05:14 +1000 Subject: [PATCH] Remove deprecated Eigen empty struct constructors This upstreams RoboStack downstream patch `patch/ros-rolling-grid-map-core.patch`. Best-guess rationale: Eigen's EIGEN_EMPTY_STRUCT_CTOR macro is no longer needed for these stateless functors and can trigger compatibility issues with newer Eigen/toolchain combinations. Signed-off-by: Tobias Fischer --- .../include/grid_map_core/eigen_plugins/FunctorsPlugin.hpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/grid_map_core/include/grid_map_core/eigen_plugins/FunctorsPlugin.hpp b/grid_map_core/include/grid_map_core/eigen_plugins/FunctorsPlugin.hpp index b5c3abba0..5988361e4 100644 --- a/grid_map_core/include/grid_map_core/eigen_plugins/FunctorsPlugin.hpp +++ b/grid_map_core/include/grid_map_core/eigen_plugins/FunctorsPlugin.hpp @@ -6,7 +6,6 @@ template struct scalar_sum_of_finites_op { - EIGEN_EMPTY_STRUCT_CTOR(scalar_sum_of_finites_op) EIGEN_STRONG_INLINE const Scalar operator()(const Scalar & a, const Scalar & b) const { using std::isfinite; @@ -29,7 +28,6 @@ struct functor_traits> template struct scalar_min_of_finites_op { - EIGEN_EMPTY_STRUCT_CTOR(scalar_min_of_finites_op) EIGEN_STRONG_INLINE const Scalar operator()(const Scalar & a, const Scalar & b) const { using std::min; @@ -53,7 +51,6 @@ struct functor_traits> template struct scalar_max_of_finites_op { - EIGEN_EMPTY_STRUCT_CTOR(scalar_max_of_finites_op) EIGEN_STRONG_INLINE const Scalar operator()(const Scalar & a, const Scalar & b) const { using std::max;