Skip to content

Commit 9ccd835

Browse files
Removed unused nondefault_qos_profile (ros2#1233) (ros2#1234)
(cherry picked from commit f352cff) Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com> Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
1 parent 297ad38 commit 9ccd835

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

rcl/test/rcl/test_get_actual_qos.cpp

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -234,22 +234,6 @@ TEST_P(TestSubscriptionGetActualQoS, test_subscription_get_qos_settings)
234234
// other input profile settings
235235
//
236236

237-
static constexpr rmw_qos_profile_t
238-
nondefault_qos_profile()
239-
{
240-
rmw_qos_profile_t profile = rmw_qos_profile_default;
241-
profile.history = RMW_QOS_POLICY_HISTORY_KEEP_ALL;
242-
profile.depth = 1000;
243-
profile.reliability = RMW_QOS_POLICY_RELIABILITY_BEST_EFFORT;
244-
profile.durability = RMW_QOS_POLICY_DURABILITY_TRANSIENT_LOCAL;
245-
profile.deadline.sec = 1;
246-
profile.lifespan.nsec = 500000;
247-
profile.liveliness = RMW_QOS_POLICY_LIVELINESS_AUTOMATIC;
248-
profile.liveliness_lease_duration.sec = 1;
249-
profile.avoid_ros_namespace_conventions = true;
250-
return profile;
251-
}
252-
253237
static constexpr rmw_qos_profile_t
254238
nondefault_qos_profile_for_fastrtps()
255239
{

0 commit comments

Comments
 (0)