Skip to content

Commit 1b232ae

Browse files
author
Chen Lihui
committed
cft member should be defined in the structure.
to check the macro for interfaces is enough. Signed-off-by: Chen Lihui <lihui.chen@sony.com>
1 parent 7b362b5 commit 1b232ae

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

rclcpp/include/rclcpp/subscription_content_filter_options.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
namespace rclcpp
2222
{
2323

24-
#ifdef CONTENT_FILTER_ENABLE
2524
/// Options to configure content filtered topic in the subscription.
2625
struct ContentFilterOptions
2726
{
@@ -33,7 +32,6 @@ struct ContentFilterOptions
3332
*/
3433
std::vector<std::string> expression_parameters;
3534
};
36-
#endif // CONTENT_FILTER_ENABLE
3735

3836
} // namespace rclcpp
3937

rclcpp/include/rclcpp/subscription_options.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,7 @@ struct SubscriptionOptionsBase
8383

8484
QosOverridingOptions qos_overriding_options;
8585

86-
#ifdef CONTENT_FILTER_ENABLE
8786
ContentFilterOptions content_filter_options;
88-
#endif // CONTENT_FILTER_ENABLE
8987
};
9088

9189
/// Structure containing optional configuration for Subscriptions.

0 commit comments

Comments
 (0)