| 10 | // Note: for UnknownSet, Error and Message, this is ptr less than. |
| 11 | template <typename T> |
| 12 | int ComparisonImpl(T lhs, T rhs) { |
| 13 | if (lhs < rhs) { |
| 14 | return -1; |
| 15 | } else if (lhs > rhs) { |
| 16 | return 1; |
| 17 | } else { |
| 18 | return 0; |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | template <> |
| 23 | int ComparisonImpl(const CelError* lhs, const CelError* rhs) { |
no test coverage detected