mirror of
https://github.com/serge1/ELFIO.git
synced 2024-12-26 09:14:29 +00:00
Fix warning shown up with clang compiler
This commit is contained in:
parent
2b457dd5d9
commit
9814eaaa76
@ -59,7 +59,7 @@ template <class S> class modinfo_section_accessor_template
|
||||
bool get_attribute( const std::string_view& field_name,
|
||||
std::string& value ) const
|
||||
{
|
||||
for ( const auto [first, second] : content ) {
|
||||
for ( const auto& [first, second] : content ) {
|
||||
if ( field_name == first ) {
|
||||
value = second;
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user