mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-04 11:13:58 +08:00
Fix issues introduced with PR 53.
This commit is contained in:
parent
1a70520422
commit
70a0085a47
@ -2957,19 +2957,19 @@ inline std::basic_istream<charT, traits>& operator>>(std::basic_istream<charT, t
|
||||
auto sf = is.flags();
|
||||
is >> std::noskipws;
|
||||
while (is) {
|
||||
c = is.get();
|
||||
auto c2 = is.get();
|
||||
if (is) {
|
||||
if (c == '\\') {
|
||||
c = is.get();
|
||||
if (c2 == '\\') {
|
||||
c2 = is.get();
|
||||
if (is) {
|
||||
tmp += static_cast<charT>(c);
|
||||
tmp += static_cast<charT>(c2);
|
||||
}
|
||||
}
|
||||
else if (c == '"') {
|
||||
else if (c2 == '"') {
|
||||
break;
|
||||
}
|
||||
else {
|
||||
tmp += static_cast<charT>(c);
|
||||
tmp += static_cast<charT>(c2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user