Skip to content

Commit

Permalink
Remove getGuid implementation in StatefulReader mock (eProsima#3050)
Browse files Browse the repository at this point in the history
Signed-off-by: RaulSanchez <raul@eprosima.com>

Signed-off-by: RaulSanchez <raul@eprosima.com>
  • Loading branch information
rsanchez15 authored Nov 3, 2022
1 parent 0df66c4 commit b043c99
Showing 1 changed file with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ class StatefulReader : public RTPSReader
{
public:

StatefulReader()
{
}
StatefulReader() = default;

StatefulReader(
ReaderHistory* history,
Expand All @@ -60,13 +58,6 @@ class StatefulReader : public RTPSReader
MOCK_METHOD1 (matched_writer_is_matched, bool(const GUID_t& writer_guid));
// *INDENT-ON*


// In real class, inherited from Endpoint base class.
inline const GUID_t& getGuid() const
{
return guid_;
}

ReaderTimes& getTimes()
{
return times_;
Expand Down Expand Up @@ -108,8 +99,6 @@ class StatefulReader : public RTPSReader

private:

GUID_t guid_;

ReaderTimes times_;
};

Expand Down

0 comments on commit b043c99

Please sign in to comment.