#308 - get cur_active_sons as copy, not reference
This commit is contained in:
parent
0d74fcf675
commit
550727757f
1 changed files with 1 additions and 1 deletions
|
|
@ -804,7 +804,7 @@ void database::update_active_sons()
|
||||||
|
|
||||||
|
|
||||||
// Compare current and to-be lists of active sons
|
// Compare current and to-be lists of active sons
|
||||||
const auto& cur_active_sons = gpo.active_sons;
|
const auto cur_active_sons = gpo.active_sons;
|
||||||
flat_map<sidechain_type, vector<son_info> > new_active_sons;
|
flat_map<sidechain_type, vector<son_info> > new_active_sons;
|
||||||
const auto &acc = get(gpo.parameters.son_account());
|
const auto &acc = get(gpo.parameters.son_account());
|
||||||
for( const auto& sidechain_sons : sons ){
|
for( const auto& sidechain_sons : sons ){
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue