From 978dd71a7476fdcaf2b579a61f4c96836e8ab4d7 Mon Sep 17 00:00:00 2001 From: Emerson Knapp Date: Mon, 1 Apr 2019 17:47:14 -0700 Subject: [PATCH] Lint fix Signed-off-by: Emerson Knapp --- .../rmw_fastrtps_shared_cpp/custom_participant_info.hpp | 1 - .../include/rmw_fastrtps_shared_cpp/custom_publisher_info.hpp | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/custom_participant_info.hpp b/rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/custom_participant_info.hpp index e1d6369f8..e3a9875a0 100644 --- a/rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/custom_participant_info.hpp +++ b/rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/custom_participant_info.hpp @@ -166,7 +166,6 @@ class ParticipantListener : public eprosima::fastrtps::ParticipantListener { std::lock_guard guard(topic_cache.getMutex()); if (is_alive) { - trigger = topic_cache().addTopic(proxyData.RTPSParticipantKey(), proxyData.topicName(), proxyData.typeName()); } else { diff --git a/rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/custom_publisher_info.hpp b/rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/custom_publisher_info.hpp index a0e39c83d..ceb902fc2 100644 --- a/rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/custom_publisher_info.hpp +++ b/rmw_fastrtps_shared_cpp/include/rmw_fastrtps_shared_cpp/custom_publisher_info.hpp @@ -66,7 +66,8 @@ class PubListener : public eprosima::fastrtps::PublisherListener private: std::mutex internalMutex_; - std::set subscriptions_ RCPPUTILS_TSA_GUARDED_BY(internalMutex_); + std::set + subscriptions_ RCPPUTILS_TSA_GUARDED_BY(internalMutex_); }; #endif // RMW_FASTRTPS_SHARED_CPP__CUSTOM_PUBLISHER_INFO_HPP_