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:
@@ -879,9 +879,10 @@ double RimWellPath::datumElevation() const
|
||||
void RimWellPath::addWellLogFile( RimWellLogFile* logFileInfo )
|
||||
{
|
||||
// Prevent the same file from being loaded more than once
|
||||
auto itr = std::find_if( m_wellLogFiles.begin(), m_wellLogFiles.end(), [&]( const RimWellLogFile* file ) {
|
||||
return QString::compare( file->fileName(), logFileInfo->fileName(), Qt::CaseInsensitive ) == 0;
|
||||
} );
|
||||
auto itr = std::find_if( m_wellLogFiles.begin(),
|
||||
m_wellLogFiles.end(),
|
||||
[&]( const RimWellLogFile* file )
|
||||
{ return QString::compare( file->fileName(), logFileInfo->fileName(), Qt::CaseInsensitive ) == 0; } );
|
||||
|
||||
// Todo: Verify well name to ensure all well log files having the same well name
|
||||
|
||||
|
||||
@@ -364,7 +364,8 @@ void RimWellPathGroup::makeMoreLevelsIfNecessary()
|
||||
|
||||
auto wellPathPoints = this->wellPathGeometry()->wellPathPoints();
|
||||
|
||||
auto comp = []( const cvf::Vec3d& lhs, const cvf::Vec3d& rhs ) {
|
||||
auto comp = []( const cvf::Vec3d& lhs, const cvf::Vec3d& rhs )
|
||||
{
|
||||
auto diff = rhs - lhs;
|
||||
if ( diff.length() < 1.0e-8 ) return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user