Skip to content

Commit

Permalink
Merge pull request #53 from jnhyatt/leading-whitespace
Browse files Browse the repository at this point in the history
Bugfix - Leading Whitespace On Stream In
  • Loading branch information
gulrak authored Mar 4, 2020
2 parents 05bcd2c + a778e6d commit bd30737
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/ghc/filesystem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2951,7 +2951,8 @@ template <class charT, class traits>
inline std::basic_istream<charT, traits>& operator>>(std::basic_istream<charT, traits>& is, path& p)
{
std::basic_string<charT, traits> tmp;
auto c = is.get();
charT c;
is >> c;
if (c == '"') {
auto sf = is.flags();
is >> std::noskipws;
Expand Down

0 comments on commit bd30737

Please sign in to comment.