mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-04 11:13:58 +08:00
Remove leading whitespace when first character is whitespace
This commit is contained in:
parent
e63a58c5ba
commit
a778e6d76e
@ -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