From 50d1d0607d7634c20705842be7d90fbe5ea46b07 Mon Sep 17 00:00:00 2001 From: Tomoya Fujita Date: Mon, 29 Jul 2024 00:50:31 -0700 Subject: [PATCH] remove rmw_localhost_only_t. (#239) Signed-off-by: Tomoya Fujita --- test_rmw_implementation/test/test_create_destroy_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_rmw_implementation/test/test_create_destroy_node.cpp b/test_rmw_implementation/test/test_create_destroy_node.cpp index dba2345c..e5d0fb2b 100644 --- a/test_rmw_implementation/test/test_create_destroy_node.cpp +++ b/test_rmw_implementation/test/test_create_destroy_node.cpp @@ -138,7 +138,7 @@ class TestLocalhostNodeConstructionDestruction : public ::testing::Test ASSERT_EQ(RMW_RET_OK, ret) << rcutils_get_error_string().str; options.enclave = rcutils_strdup("/", rcutils_get_default_allocator()); ASSERT_STREQ("/", options.enclave); - options.localhost_only = RMW_LOCALHOST_ONLY_ENABLED; + options.discovery_options.automatic_discovery_range = RMW_AUTOMATIC_DISCOVERY_RANGE_LOCALHOST; context = rmw_get_zero_initialized_context(); ret = rmw_init(&options, &context); ASSERT_EQ(RMW_RET_OK, ret) << rcutils_get_error_string().str;