
Module: ppl/ppl Branch: master Commit: e9fc312f33c36f9e2a3eb520f4881b9abff5d75e URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=e9fc312f33c36...
Author: Enea Zaffanella zaffanella@cs.unipr.it Date: Sun Feb 26 13:51:03 2012 +0100
Simplified Interval_Info::ascii_load(). Resettting format flags does not change the istream status, which was previously tested and is known to be good: hence, return true.
---
src/Interval_Info.inlines.hh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Interval_Info.inlines.hh b/src/Interval_Info.inlines.hh index 0aa03f6..da03cc8 100644 --- a/src/Interval_Info.inlines.hh +++ b/src/Interval_Info.inlines.hh @@ -90,7 +90,7 @@ Interval_Info_Bitset<T, Policy>::ascii_load(std::istream& s) { if (!s) return false; s.flags(old); - return s; + return true; }
#ifdef PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS