mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5429 Use const reference instead of copy
Had no effect on Win64 but is better style
This commit is contained in:
parent
c9dbad78de
commit
fefd4d2fe8
@ -205,7 +205,8 @@ public:
|
||||
m_weights[1] = ( (float)( normDistFromE1V1 ) );
|
||||
}
|
||||
|
||||
explicit RivIntersectionVertexWeights( const std::array<size_t, 8> vxIds, const std::array<double, 8> explicitWeights )
|
||||
explicit RivIntersectionVertexWeights( const std::array<size_t, 8>& vxIds,
|
||||
const std::array<double, 8>& explicitWeights )
|
||||
: m_count( 8 )
|
||||
, m_vxIds( vxIds )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user