From 93fcd480222ba91375af83b16d0a8ec0dc0b2f9d Mon Sep 17 00:00:00 2001 From: Mario Dominguez Date: Thu, 19 Sep 2024 11:28:55 +0200 Subject: [PATCH] Refs #21706: Remove unused validMatching methods in EDP Signed-off-by: Mario Dominguez --- .../rtps/builtin/discovery/endpoint/EDP.cpp | 18 ----------------- src/cpp/rtps/builtin/discovery/endpoint/EDP.h | 20 ------------------- 2 files changed, 38 deletions(-) diff --git a/src/cpp/rtps/builtin/discovery/endpoint/EDP.cpp b/src/cpp/rtps/builtin/discovery/endpoint/EDP.cpp index bfd74046dc3..b4fd67f7ce7 100644 --- a/src/cpp/rtps/builtin/discovery/endpoint/EDP.cpp +++ b/src/cpp/rtps/builtin/discovery/endpoint/EDP.cpp @@ -564,15 +564,6 @@ bool EDP::unpairReaderProxy( return true; } -bool EDP::validMatching( - const WriterProxyData* wdata, - const ReaderProxyData* rdata) -{ - MatchingFailureMask reason; - fastdds::dds::PolicyMask incompatible_qos; - return valid_matching(wdata, rdata, reason, incompatible_qos); -} - bool EDP::valid_matching( const WriterProxyData* wdata, const ReaderProxyData* rdata, @@ -798,15 +789,6 @@ bool EDP::checkDataRepresentationQos( return compatible; } -bool EDP::validMatching( - const ReaderProxyData* rdata, - const WriterProxyData* wdata) -{ - MatchingFailureMask reason; - fastdds::dds::PolicyMask incompatible_qos; - return valid_matching(rdata, wdata, reason, incompatible_qos); -} - bool EDP::valid_matching( const ReaderProxyData* rdata, const WriterProxyData* wdata, diff --git a/src/cpp/rtps/builtin/discovery/endpoint/EDP.h b/src/cpp/rtps/builtin/discovery/endpoint/EDP.h index df585a607f9..591071f88dd 100644 --- a/src/cpp/rtps/builtin/discovery/endpoint/EDP.h +++ b/src/cpp/rtps/builtin/discovery/endpoint/EDP.h @@ -212,26 +212,6 @@ class EDP RTPSWriter* rtps_writer, const fastdds::dds::WriterQos& qos); - /** - * Check the validity of a matching between a local RTPSWriter and a ReaderProxyData object. - * @param wdata Pointer to the WriterProxyData object of the local RTPSWriter. - * @param rdata Pointer to the ReaderProxyData object. - * @return True if the two can be matched. - */ - bool validMatching( - const WriterProxyData* wdata, - const ReaderProxyData* rdata); - - /** - * Check the validity of a matching between a local RTPSReader and a WriterProxyData object. - * @param rdata Pointer to the ReaderProxyData object of the local RTPSReader. - * @param wdata Pointer to the WriterProxyData object. - * @return True if the two can be matched. - */ - bool validMatching( - const ReaderProxyData* rdata, - const WriterProxyData* wdata); - /** * Check the validity of a matching between a local RTPSWriter and a ReaderProxyData object. * @param wdata Pointer to the WriterProxyData object of the local RTPSWriter.