mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-04 11:13:58 +08:00
refs #70, mingw compile fix
This commit is contained in:
parent
f15dea9695
commit
a22c0a94d0
@ -2695,8 +2695,8 @@ GHC_INLINE int path::compare(const path& p) const noexcept
|
|||||||
++rnl1;
|
++rnl1;
|
||||||
++rnl2;
|
++rnl2;
|
||||||
}
|
}
|
||||||
auto iter1 = _path.begin() + rnl1;
|
auto iter1 = _path.begin() + static_cast<int>(rnl1);
|
||||||
auto iter2 = p._path.begin() + rnl2;
|
auto iter2 = p._path.begin() + static_cast<int>(rnl2);
|
||||||
while (iter1 != _path.end() && iter2 != p._path.end() && *iter1 == *iter2) {
|
while (iter1 != _path.end() && iter2 != p._path.end() && *iter1 == *iter2) {
|
||||||
++iter1;
|
++iter1;
|
||||||
++iter2;
|
++iter2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user