mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-04 11:13:58 +08:00
Fixed MinGW no-exception logic
This commit is contained in:
parent
498dd371fa
commit
ee9b432e3f
@ -5079,6 +5079,7 @@ public:
|
||||
do {
|
||||
if (FindNextFileW(_dirHandle, &_findData)) {
|
||||
_current = _base;
|
||||
#ifdef GHC_RAISE_UNICODE_ERRORS
|
||||
try {
|
||||
_current.append_name(detail::toUtf8(_findData.cFileName).c_str());
|
||||
}
|
||||
@ -5086,6 +5087,9 @@ public:
|
||||
ec = fe.code();
|
||||
return;
|
||||
}
|
||||
#else
|
||||
_current.append_name(detail::toUtf8(_findData.cFileName).c_str());
|
||||
#endif
|
||||
copyToDirEntry(ec);
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user