Commit e9176c5
committed
🐛 Fix
Problem:
- `string_view`'s constructor takes a `char const *` and a size, not an iterator
and a size. On platforms where an array iterator is not a simple pointer, this
fails.
Solution:
- Use `data` instead of `cbegin` to access the string data.string_view construction1 parent 242020e commit e9176c5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments