summaryrefslogtreecommitdiff
path: root/cxx/ismpq.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cxx/ismpq.cc')
-rw-r--r--cxx/ismpq.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cxx/ismpq.cc b/cxx/ismpq.cc
index 23eec7657..5cf8c4f94 100644
--- a/cxx/ismpq.cc
+++ b/cxx/ismpq.cc
@@ -49,7 +49,7 @@ operator>> (istream &i, mpq_ptr q)
if (i.good())
i.putback(c);
else if (i.eof())
- i.clear();
+ i.clear(ios::eofbit);
}
return i;