From 096d4643c83237d520bf869cc15d24082861e6e5 Mon Sep 17 00:00:00 2001 From: eboasson Date: Thu, 7 Nov 2019 09:33:17 +0100 Subject: [PATCH] Fix dashing breakage (#64) Signed-off-by: Erik Boasson --- rmw_cyclonedds_cpp/src/rmw_node.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/rmw_cyclonedds_cpp/src/rmw_node.cpp b/rmw_cyclonedds_cpp/src/rmw_node.cpp index ff10451..078a03e 100644 --- a/rmw_cyclonedds_cpp/src/rmw_node.cpp +++ b/rmw_cyclonedds_cpp/src/rmw_node.cpp @@ -614,13 +614,6 @@ static void node_gone_from_domain_locked(dds_domainid_t did) { static_cast(did); } - -static bool check_create_domain_locked(dds_domainid_t did, bool localhost_only) -{ - static_cast(did); - static_cast(localhost_only); - return true; -} #endif static std::string get_node_user_data(const char * node_name, const char * node_namespace) @@ -670,10 +663,10 @@ extern "C" rmw_node_t * rmw_create_node( and tearing down the domain for versions of Cyclone that implement the original version of dds_create_domain that doesn't return a handle. */ std::lock_guard lock(gcdds.domains_lock); -#endif if (!check_create_domain_locked(did, localhost_only)) { return nullptr; } +#endif dds_qos_t * qos = dds_create_qos(); std::string user_data = get_node_user_data(name, namespace_);