Add missing default constructors for serialized types
This commit is contained in:
parent
9c4a54edce
commit
bdbb94de31
2 changed files with 12 additions and 0 deletions
|
|
@ -215,6 +215,7 @@ struct approval_delta
|
|||
|
||||
struct signed_block_with_info : public signed_block
|
||||
{
|
||||
signed_block_with_info();
|
||||
signed_block_with_info( const signed_block& block );
|
||||
signed_block_with_info( const signed_block_with_info& block ) = default;
|
||||
|
||||
|
|
@ -224,6 +225,7 @@ struct signed_block_with_info : public signed_block
|
|||
|
||||
struct vesting_balance_object_with_info : public vesting_balance_object
|
||||
{
|
||||
vesting_balance_object_with_info();
|
||||
vesting_balance_object_with_info( const vesting_balance_object& vbo, fc::time_point_sec now );
|
||||
vesting_balance_object_with_info( const vesting_balance_object_with_info& vbo ) = default;
|
||||
|
||||
|
|
|
|||
|
|
@ -3639,6 +3639,11 @@ vector<blind_receipt> wallet_api::blind_history( string key_or_account )
|
|||
return result;
|
||||
}
|
||||
|
||||
// default ctor necessary for FC_REFLECT
|
||||
signed_block_with_info::signed_block_with_info()
|
||||
{
|
||||
}
|
||||
|
||||
signed_block_with_info::signed_block_with_info( const signed_block& block )
|
||||
: signed_block( block )
|
||||
{
|
||||
|
|
@ -3646,6 +3651,11 @@ signed_block_with_info::signed_block_with_info( const signed_block& block )
|
|||
signing_key = signee();
|
||||
}
|
||||
|
||||
vesting_balance_object_with_info::vesting_balance_object_with_info()
|
||||
: vesting_balance_object()
|
||||
{
|
||||
}
|
||||
|
||||
vesting_balance_object_with_info::vesting_balance_object_with_info( const vesting_balance_object& vbo, fc::time_point_sec now )
|
||||
: vesting_balance_object( vbo )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue