| 97 | } |
| 98 | |
| 99 | bool Equals(const TypeMatcher& other) const override { |
| 100 | if (this == &other) { |
| 101 | return true; |
| 102 | } |
| 103 | auto casted = dynamic_cast<const SameTypeIdMatcher*>(&other); |
| 104 | if (casted == nullptr) { |
| 105 | return false; |
| 106 | } |
| 107 | return this->accepted_id_ == casted->accepted_id_; |
| 108 | } |
| 109 | |
| 110 | private: |
| 111 | Type::type accepted_id_; |
nothing calls this directly
no outgoing calls
no test coverage detected