Commit 77ec7ab
committed
arg_reader: Add check if range becomes discontiguous
A basic_scan_file_buffer, when it has buffering, it can become
discontiguous while moving forward when executing
ranges::next(range.begin(), ranges::distance(crange.begin(), it)).
For that reason, we add a fallback in case this happened.1 parent 2d123c4 commit 77ec7ab
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5913 | 5913 | | |
5914 | 5914 | | |
5915 | 5915 | | |
5916 | | - | |
5917 | | - | |
| 5916 | + | |
| 5917 | + | |
| 5918 | + | |
| 5919 | + | |
| 5920 | + | |
| 5921 | + | |
5918 | 5922 | | |
5919 | 5923 | | |
5920 | 5924 | | |
| |||
6233 | 6237 | | |
6234 | 6238 | | |
6235 | 6239 | | |
6236 | | - | |
6237 | | - | |
| 6240 | + | |
| 6241 | + | |
| 6242 | + | |
| 6243 | + | |
| 6244 | + | |
| 6245 | + | |
6238 | 6246 | | |
6239 | 6247 | | |
6240 | 6248 | | |
| |||
0 commit comments