Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove getGuid implementation in StatefulReader mock #3050

Merged
merged 1 commit into from
Nov 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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