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 committed 2011-11-03 04:33:58 +00:00
1 parent c07cbcee5c
commit 4ddb0bfb95
3 files changed
+60 -1

No files matched your search

+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>