---------------------------------------------------------------------
| 88 | |
| 89 | //--------------------------------------------------------------------- |
| 90 | void RemoveDevNull( |
| 91 | std::vector<File>& files, |
| 92 | std::vector<std::wstring>& sourceFileLines) |
| 93 | { |
| 94 | EraseIf(files, [](const auto& file) |
| 95 | { |
| 96 | return file.GetPath().wstring() == DevNull; |
| 97 | }); |
| 98 | |
| 99 | EraseIf(sourceFileLines, [](const auto& line) |
| 100 | { |
| 101 | return boost::algorithm::starts_with(line, UnifiedDiffParser::FromFilePrefix + DevNull); |
| 102 | }); |
| 103 | } |
| 104 | } |
| 105 | //--------------------------------------------------------------------- |
| 106 | struct UnifiedDiffParser::HunksDifferences |