mirror of
https://github.com/monero-project/monero.git
synced 2025-07-31 08:18:42 -04:00
serialization: check stream good flag at the end
just in case
This commit is contained in:
parent
a00cabd4f3
commit
1387549e90
3 changed files with 6 additions and 6 deletions
|
@ -212,7 +212,7 @@ inline bool do_serialize(Archive &ar, bool &v)
|
|||
* \brief self-explanatory
|
||||
*/
|
||||
#define END_SERIALIZE() \
|
||||
return true; \
|
||||
return ar.stream().good(); \
|
||||
}
|
||||
|
||||
/*! \macro VALUE(f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue