| 144 | bool operator!=(const Diff &d) const { return !(operator == (d)); } |
| 145 | |
| 146 | static string_t strOperation(Operation op) { |
| 147 | switch (op) { |
| 148 | case INSERT: |
| 149 | return traits::cs(L"INSERT"); |
| 150 | case DELETE: |
| 151 | return traits::cs(L"DELETE"); |
| 152 | case EQUAL: |
| 153 | return traits::cs(L"EQUAL"); |
| 154 | } |
| 155 | throw string_t(traits::cs(L"Invalid operation.")); |
| 156 | } |
| 157 | }; |
| 158 | |
| 159 | typedef std::list<Diff> Diffs; |
nothing calls this directly
no outgoing calls
no test coverage detected