mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Update clang-format.yml (#10068)
* Update to clang-format-15 Removed two custom .clang-format files in subfolders of AppFwk * Fixes by clang-format
This commit is contained in:
@@ -152,10 +152,10 @@ void RiuWellPathComponentPlotItem::calculateColumnOffsets( const RimWellPathComp
|
||||
const RimWellPathAttribute* myAttribute = dynamic_cast<const RimWellPathAttribute*>( component );
|
||||
if ( myAttribute && myAttribute->componentType() == RiaDefines::WellPathComponentType::CASING )
|
||||
{
|
||||
int nNarrowerCasings =
|
||||
std::count_if( uniqueCasingDiameters.begin(), uniqueCasingDiameters.end(), [myAttribute]( double otherCasingDiameter ) {
|
||||
return otherCasingDiameter < myAttribute->diameterInInches();
|
||||
} );
|
||||
int nNarrowerCasings = std::count_if( uniqueCasingDiameters.begin(),
|
||||
uniqueCasingDiameters.end(),
|
||||
[myAttribute]( double otherCasingDiameter )
|
||||
{ return otherCasingDiameter < myAttribute->diameterInInches(); } );
|
||||
|
||||
m_columnOffset = nNarrowerCasings * 0.25;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user