Merge branch 'bug/issue-463' into 'develop'
#463 Fix unused variable son_count_histogram_buffer in Release mode See merge request PBSA/peerplays!166
This commit is contained in:
commit
8e8142235a
1 changed files with 2 additions and 2 deletions
|
|
@ -720,11 +720,11 @@ void database::update_active_sons()
|
||||||
}
|
}
|
||||||
|
|
||||||
assert( _son_count_histogram_buffer.size() > 0 );
|
assert( _son_count_histogram_buffer.size() > 0 );
|
||||||
for( const auto& son_count_histogram_buffer : _son_count_histogram_buffer ){
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
|
for( const auto& son_count_histogram_buffer : _son_count_histogram_buffer ){
|
||||||
assert( son_count_histogram_buffer.second.size() > 0 );
|
assert( son_count_histogram_buffer.second.size() > 0 );
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
const flat_map<sidechain_type, share_type> stake_target = [this]{
|
const flat_map<sidechain_type, share_type> stake_target = [this]{
|
||||||
flat_map<sidechain_type, share_type> stake_target;
|
flat_map<sidechain_type, share_type> stake_target;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue