Commit b3a6919
Thomas Goodwin
replace const ref with const value in FileSystem_impl::remove()
It may sometimes be permissible to assign the by-value result of a function to
a const reference, but in this case it was getting garbage data and causing the
filename check to fail.
(see Geontech/core-framework@30af902)
Signed-off-by: Thomas Goodwin <btgoodwin@geontech.com>1 parent dd1988e commit b3a6919
2 files changed
Lines changed: 14 additions & 0 deletions
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
0 commit comments