diff --git a/test/test_subscriber.cpp b/test/test_subscriber.cpp index ee86a29b..552c985a 100644 --- a/test/test_subscriber.cpp +++ b/test/test_subscriber.cpp @@ -34,6 +34,10 @@ #include +// see ros2/rclcpp#1619,1713 +// TODO: remove this comment, and the `NonConstHelper` tests +// once the deprecated signatures have been discontinued. +#define RCLCPP_AVOID_DEPRECATIONS_FOR_UNIT_TESTS 1 #include #include #include "message_filters/subscriber.h"