diff --git a/include/ghc/filesystem.hpp b/include/ghc/filesystem.hpp index ba4302c..df0e845 100644 --- a/include/ghc/filesystem.hpp +++ b/include/ghc/filesystem.hpp @@ -2951,7 +2951,8 @@ template inline std::basic_istream& operator>>(std::basic_istream& is, path& p) { std::basic_string tmp; - auto c = is.get(); + charT c; + is >> c; if (c == '"') { auto sf = is.flags(); is >> std::noskipws;