diff --git a/src/cpp/rtps/builtin/discovery/database/DiscoverySharedInfo.hpp b/src/cpp/rtps/builtin/discovery/database/DiscoverySharedInfo.hpp index 17f4b326bf9..73582917481 100644 --- a/src/cpp/rtps/builtin/discovery/database/DiscoverySharedInfo.hpp +++ b/src/cpp/rtps/builtin/discovery/database/DiscoverySharedInfo.hpp @@ -20,8 +20,6 @@ #ifndef _FASTDDS_RTPS_DISCOVERY_SHARED_INFO_H_ #define _FASTDDS_RTPS_DISCOVERY_SHARED_INFO_H_ -#include - #include #include #include @@ -60,7 +58,6 @@ class DiscoverySharedInfo const eprosima::fastrtps::rtps::GuidPrefix_t& guid_p, bool status = false) { - std::lock_guard _(mutex_); EPROSIMA_LOG_INFO( DISCOVERY_DATABASE, "Adding relevant participant " << guid_p