Skip to content

Commit

Permalink
Fix issues introduced with PR 53.
Browse files Browse the repository at this point in the history
  • Loading branch information
gulrak committed Mar 4, 2020
1 parent 1a70520 commit 70a0085
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions include/ghc/filesystem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit 70a0085

Please sign in to comment.