mirror of
https://github.com/serge1/ELFIO.git
synced 2024-11-19 11:14:46 +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,
|
bool get_attribute( const std::string_view& field_name,
|
||||||
std::string& value ) const
|
std::string& value ) const
|
||||||
{
|
{
|
||||||
for ( const auto [first, second] : content ) {
|
for ( const auto& [first, second] : content ) {
|
||||||
if ( field_name == first ) {
|
if ( field_name == first ) {
|
||||||
value = second;
|
value = second;
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user