Fix for error noticed by Olaf van der Spek (ticket #6083)

Added test case for that error

[SVN r75283]
This commit is contained in:
Antony Polukhin
2011-11-03 04:33:58 +00:00
parent c07cbcee5c
commit 4ddb0bfb95
3 changed files with 60 additions and 1 deletions
+1 -1
View File
@@ -1181,7 +1181,7 @@ namespace boost
bool const result = !(stream << input).fail();
start = stringbuffer.pbase();
finish = stringbuffer.pptr();
return result;
return result && (start != finish);
}
template <class T>