SON118 - Compilation errors fix
This commit is contained in:
parent
939d9195af
commit
d191192c7b
3 changed files with 10 additions and 3 deletions
|
|
@ -114,6 +114,7 @@ add_library( graphene_chain
|
|||
affiliate_payout.cpp
|
||||
|
||||
son_evaluator.cpp
|
||||
son_object.cpp
|
||||
|
||||
${HEADERS}
|
||||
${PROTOCOL_HEADERS}
|
||||
|
|
|
|||
|
|
@ -45,9 +45,7 @@ namespace graphene { namespace chain {
|
|||
vesting_balance_id_type pay_vb;
|
||||
son_statistics_id_type statistics;
|
||||
|
||||
void pay_son_fee(share_type pay, database& db) {
|
||||
db.adjust_balance( son_account, pay );
|
||||
}
|
||||
void pay_son_fee(share_type pay, database& db);
|
||||
};
|
||||
|
||||
struct by_account;
|
||||
|
|
|
|||
8
libraries/chain/son_object.cpp
Normal file
8
libraries/chain/son_object.cpp
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#include <graphene/chain/database.hpp>
|
||||
#include <graphene/chain/son_object.hpp>
|
||||
|
||||
namespace graphene { namespace chain {
|
||||
void son_object::pay_son_fee(share_type pay, database& db) {
|
||||
db.adjust_balance(son_account, pay);
|
||||
}
|
||||
}}
|
||||
Loading…
Reference in a new issue