Fixes by clang-format

This commit is contained in:
magnesj
2020-11-06 09:46:38 +00:00
committed by Magne Sjaastad
parent 318b4e3471
commit d11e109c7e
208 changed files with 67533 additions and 67439 deletions

View File

@@ -116,7 +116,7 @@ void RimFileSurface::fieldChangedByUi( const caf::PdmFieldHandle* changedField,
RimSurfaceCollection* surfColl;
this->firstAncestorOrThisOfTypeAsserted( surfColl );
surfColl->updateViews( {this} );
surfColl->updateViews( { this } );
}
}
@@ -133,8 +133,8 @@ bool RimFileSurface::updateSurfaceData()
result = loadDataFromFile();
}
std::vector<cvf::Vec3d> vertices{m_vertices};
std::vector<unsigned> tringleIndices{m_tringleIndices};
std::vector<cvf::Vec3d> vertices{ m_vertices };
std::vector<unsigned> tringleIndices{ m_tringleIndices };
auto surface = new RigSurface;
if ( !vertices.empty() && !tringleIndices.empty() )

View File

@@ -147,7 +147,7 @@ void RimGridCaseSurface::fieldChangedByUi( const caf::PdmFieldHandle* changedFie
RimSurfaceCollection* surfColl;
this->firstAncestorOrThisOfTypeAsserted( surfColl );
surfColl->updateViews( {this} );
surfColl->updateViews( { this } );
}
}
@@ -360,8 +360,8 @@ bool RimGridCaseSurface::updateSurfaceData()
RigSurface* surfaceData = nullptr;
std::vector<unsigned> tringleIndices{m_triangleIndices};
std::vector<cvf::Vec3d> vertices{m_vertices};
std::vector<unsigned> tringleIndices{ m_triangleIndices };
std::vector<cvf::Vec3d> vertices{ m_vertices };
RiaDefines::GridCaseAxis sliceDirection = RiaDefines::GridCaseAxis::AXIS_K;

View File

@@ -205,7 +205,7 @@ void RimSurface::fieldChangedByUi( const caf::PdmFieldHandle* changedField, cons
{
RimSurfaceCollection* surfColl;
this->firstAncestorOrThisOfTypeAsserted( surfColl );
surfColl->updateViews( {this} );
surfColl->updateViews( { this } );
}
}