aboutsummaryrefslogtreecommitdiff
path: root/src/serialization/serialization.h
diff options
context:
space:
mode:
authormydesktop <dev.mc2@gmail.com>2014-05-03 12:19:43 -0400
committermydesktop <dev.mc2@gmail.com>2014-05-03 12:19:43 -0400
commit333f975760c156727dd7408f87e937af856d8bf1 (patch)
tree1928b27eaac60f0b528f17abbc52d5ad812013d0 /src/serialization/serialization.h
parentMerge branch 'master' of github.com:monero-project/bitmonero (diff)
downloadmonero-333f975760c156727dd7408f87e937af856d8bf1.tar.xz
initial [broken] update
Diffstat (limited to 'src/serialization/serialization.h')
-rw-r--r--src/serialization/serialization.h2
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;
}