To make TestCopies do the right thing.
| 37 | |
| 38 | // To make TestCopies do the right thing. |
| 39 | bool operator==(const ResourceHandle& a, const ResourceHandle& b) { |
| 40 | return a.device() == b.device() && a.container() == b.container() && |
| 41 | a.name() == b.name() && a.hash_code() == b.hash_code() && |
| 42 | a.maybe_type_name() == b.maybe_type_name(); |
| 43 | } |
| 44 | |
| 45 | bool operator==(const Variant& a, const Variant& b) { |
| 46 | if (a.is_empty()) { |
nothing calls this directly
no test coverage detected