Commit 721fa4e
authored
Improve compatibility with various STL flavors
In our STL std::string::iterator is not a class but rather a raw pointer.
Suggested approach works as std::advance [accepts](https://en.cppreference.com/w/cpp/iterator/advance) Distance type as a template parameter.1 parent 542fcf7 commit 721fa4e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
| 60 | + | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments