Skip to content

Commit

Permalink
Fixed shadowing of operator== by classes derived from ReadingIdentifi…
Browse files Browse the repository at this point in the history
…er (#413)
  • Loading branch information
claashk authored and mbehr1 committed Jan 15, 2020
1 parent 51f5dd3 commit 8e9d00b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/Reading.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ReadingIdentifier {
virtual ~ReadingIdentifier(){};

virtual size_t unparse(char *buffer, size_t n) = 0;
virtual bool operator==(ReadingIdentifier const &cmp) const;
bool operator==(ReadingIdentifier const &cmp) const;
bool compare(ReadingIdentifier const *lhs, ReadingIdentifier const *rhs) const;

virtual const std::string toString() = 0;
Expand Down

0 comments on commit 8e9d00b

Please sign in to comment.