mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-04 11:13:58 +08:00
Merge pull request #53 from jnhyatt/leading-whitespace
Bugfix - Leading Whitespace On Stream In
This commit is contained in:
commit
bd30737e81
@ -2951,7 +2951,8 @@ template <class charT, class traits>
|
|||||||
inline std::basic_istream<charT, traits>& operator>>(std::basic_istream<charT, traits>& is, path& p)
|
inline std::basic_istream<charT, traits>& operator>>(std::basic_istream<charT, traits>& is, path& p)
|
||||||
{
|
{
|
||||||
std::basic_string<charT, traits> tmp;
|
std::basic_string<charT, traits> tmp;
|
||||||
auto c = is.get();
|
charT c;
|
||||||
|
is >> c;
|
||||||
if (c == '"') {
|
if (c == '"') {
|
||||||
auto sf = is.flags();
|
auto sf = is.flags();
|
||||||
is >> std::noskipws;
|
is >> std::noskipws;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user