Commit 4765d19
committed
fix(msvc): const ref when iterating path segments — libc++ yields temporaries
GCC/libstdc++ and Clang/MSVC-STL accepted 'auto&' here; Clang/libc++ (macOS
job) correctly rejects binding a non-const lvalue ref to the temporary.1 parent d0bf7bb commit 4765d19
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
| 293 | + | |
| 294 | + | |
294 | 295 | | |
295 | 296 | | |
296 | 297 | | |
| |||
0 commit comments