Commit 169d7fa
authored
Fix string_view::cend() recursively calling self (#27)
`string_view::cend()` was defined as calling `cend()` unqualified,
resulting in an infinite recursive loop (and inevitable crashes as a
result). The fix here is simple: just define the logic inline, and don't
call `cend()`.
Runners on CI are failing due to being very old/deprecated.
Fixes: #261 parent 4f33a7f commit 169d7fa
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1186 | 1186 | | |
1187 | 1187 | | |
1188 | 1188 | | |
1189 | | - | |
| 1189 | + | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | 1192 | | |
| |||
0 commit comments