Skip to content

Commit

Permalink
Refs #21706: Remove unused validMatching methods in EDP
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Dominguez <[email protected]>
  • Loading branch information
Mario-DL committed Sep 19, 2024
1 parent beed4b0 commit 93fcd48
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 38 deletions.
18 changes: 0 additions & 18 deletions src/cpp/rtps/builtin/discovery/endpoint/EDP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
20 changes: 0 additions & 20 deletions src/cpp/rtps/builtin/discovery/endpoint/EDP.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 93fcd48

Please sign in to comment.