Merge pull request #192 from bitshares/update-bool-pack
Update bool serialization
This commit is contained in:
commit
4bc1405643
1 changed files with 1 additions and 1 deletions
|
|
@ -307,7 +307,7 @@ namespace fc {
|
|||
template<typename Stream> inline void pack( Stream& s, const bool& v, uint32_t _max_depth )
|
||||
{
|
||||
FC_ASSERT( _max_depth > 0 );
|
||||
fc::raw::pack( s, uint8_t(v), _max_depth - 1 );
|
||||
fc::raw::pack( s, v ? uint8_t(1) : uint8_t(0), _max_depth - 1 );
|
||||
}
|
||||
template<typename Stream> inline void unpack( Stream& s, bool& v, uint32_t _max_depth )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue