--- logging.hpp.em 2020-01-23 16:23:39.796235096 -0500 +++ logging.hpp.em.new 2020-01-23 16:25:14.488239073 -0500 @@ -129,9 +129,9 @@ typename ::rclcpp::Logger>::value, \ "First argument to logging macros must be an rclcpp::Logger"); \ @[ if 'throttle' in feature_combination]@ \ - auto get_time_point = [&clock](rcutils_time_point_value_t * time_point) -> rcutils_ret_t { \ + auto get_time_point = [&c=clock](rcutils_time_point_value_t * time_point) -> rcutils_ret_t { \ try { \ - *time_point = clock.now().nanoseconds(); \ + *time_point = c.now().nanoseconds(); \ } catch (...) { \ RCUTILS_SAFE_FWRITE_TO_STDERR( \ "[rclcpp|logging.hpp] RCLCPP_@(severity)@(suffix) could not get current time stamp\n"); \