Skip to content

Commit

Permalink
Remove unused validMatching methods in EDP (#5245)
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
  • Loading branch information
Mario-DL committed Sep 20, 2024
1 parent 7b111f9 commit 6e86a4b
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 6e86a4b

Please sign in to comment.