diff options
Diffstat (limited to 'src/serialization/serialization.h')
-rw-r--r-- | src/serialization/serialization.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialization/serialization.h b/src/serialization/serialization.h index d1c6f7f63..2d78baf3a 100644 --- a/src/serialization/serialization.h +++ b/src/serialization/serialization.h @@ -122,7 +122,7 @@ namespace serialization { { std::ios_base::iostate state = s.rdstate(); result = EOF == s.peek(); - s.setstate(state); + s.clear(state); } return result; } |