diff --git a/rclcpp/resource/logging.hpp.em b/rclcpp/resource/logging.hpp.em index b4c1e97013..489fc43e00 100644 --- a/rclcpp/resource/logging.hpp.em +++ b/rclcpp/resource/logging.hpp.em @@ -91,7 +91,7 @@ def is_supported_feature_combination(feature_combination): */ #define RCLCPP_@(severity)@(suffix)(logger, @(''.join([p + ', ' for p in get_macro_parameters(feature_combination).keys()]))...) \ static_assert( \ - ::std::is_same::type>::type, \ + ::std::is_same::type>::type, \ typename ::rclcpp::Logger>::value, \ "First argument to logging macros must be an rclcpp::Logger"); \ RCUTILS_LOG_@(severity)@(suffix)_NAMED( \