12 lines
227 B
Diff
12 lines
227 B
Diff
--- boost/tuple/tuple_io.hpp
|
|
+++ boost/tuple/tuple_io.hpp
|
|
@@ -349,7 +349,7 @@
|
|
char c;
|
|
if (is_delimiter) {
|
|
is >> c;
|
|
- if (c!=d) {
|
|
+ if (is.good() && c!=d) {
|
|
is.setstate(std::ios::failbit);
|
|
}
|
|
}
|