mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Janitor: fix warning on clang 14.
This commit is contained in:
committed by
Magne Sjaastad
parent
33188f3d6e
commit
1736c01dfa
@@ -361,7 +361,7 @@ std::set<int> RifRftSegment::uniqueOneBasedBranchIndices( RiaDefines::RftBranchT
|
||||
{
|
||||
std::set<int> indices;
|
||||
|
||||
for ( const auto [branchId, branchIndex] : m_oneBasedBranchIndexMap )
|
||||
for ( const auto& [branchId, branchIndex] : m_oneBasedBranchIndexMap )
|
||||
{
|
||||
indices.insert( branchIndex );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user