Commit 9fbee75
committed
Fix std::array iterator comparison with element pointer
In MSVC's STL, the std::array iterators are not simply the elements pointer,
and hence cannot be compared to them.
Instead we dereference the iterator and take its address for comparison.1 parent 8ed7a8e commit 9fbee75
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
421 | | - | |
| 421 | + | |
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
| |||
0 commit comments