| 304 | } |
| 305 | |
| 306 | BeVTrackingList* BeVTrackingContext::Add(BeVTrackingList* list, const SizedArrayImpl<int>& indices, bool perserveChangeList) |
| 307 | { |
| 308 | SizedArray<int, 16> newIndices; |
| 309 | for (int idx : indices) |
| 310 | { |
| 311 | if (!IsSet(list, idx)) |
| 312 | { |
| 313 | newIndices.push_back(idx); |
| 314 | } |
| 315 | } |
| 316 | if (newIndices.empty()) |
| 317 | return list; |
| 318 | return AddFiltered(list, newIndices, perserveChangeList); |
| 319 | } |
| 320 | |
| 321 | BeVTrackingList* BeVTrackingContext::Add(BeVTrackingList* list, int idx, bool perserveChangeList) |
| 322 | { |
no test coverage detected