mirror of
https://github.com/boostorg/io.git
synced 2025-07-29 20:07:13 +02:00
Fix bug quoted_manip.hpp and in its tests. Thanks to Daniel James for a patch.
[SVN r64856]
This commit is contained in:
@ -125,15 +125,15 @@ namespace boost
|
||||
std::basic_istream<Char, Traits>& operator>>(std::basic_istream<Char, Traits>& is,
|
||||
const quoted_proxy<std::basic_string<Char, Traits, Alloc>&, Char>& proxy)
|
||||
{
|
||||
proxy.string.clear();
|
||||
Char c;
|
||||
is >> c;
|
||||
if (c != proxy.delim)
|
||||
{
|
||||
proxy.string = c;
|
||||
is.unget();
|
||||
is >> proxy.string;
|
||||
return is;
|
||||
}
|
||||
proxy.string.clear();
|
||||
{
|
||||
boost::io::ios_flags_saver ifs(is);
|
||||
is >> std::noskipws;
|
||||
|
Reference in New Issue
Block a user