mirror of
https://github.com/serge1/ELFIO.git
synced 2024-12-26 18:15:40 +00:00
Refactor var declaration
This commit is contained in:
parent
cfa213d646
commit
38d61e30a7
@ -965,12 +965,11 @@ class dump
|
||||
{
|
||||
out << " [" << DUMP_DEC_FORMAT( 2 ) << no << "] ";
|
||||
|
||||
const note_tag_t* name_group = std::end( note_tag_table );
|
||||
std::vector<note_tag_t::note_values_t>::const_iterator type_value;
|
||||
|
||||
name_group = std::find_if(
|
||||
const note_tag_t* name_group = std::find_if(
|
||||
std::begin( note_tag_table ), std::end( note_tag_table ),
|
||||
[&name]( const note_tag_t& entry ) { return entry.name == name; } );
|
||||
|
||||
std::vector<note_tag_t::note_values_t>::const_iterator type_value;
|
||||
if ( name_group != std::end( note_tag_table ) ) {
|
||||
type_value = std::find_if(
|
||||
name_group->values.begin(), name_group->values.end(),
|
||||
|
Loading…
Reference in New Issue
Block a user