mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
clang-format: Set column width to 140
* Set column width to 140 * Use c++20 * Remove redundant virtual
This commit is contained in:
@@ -54,8 +54,7 @@ void RicAppendSeparateIntersectionResultFeature::onActionTriggered( bool isCheck
|
||||
|
||||
CVF_ASSERT( intersectionResCollection );
|
||||
|
||||
RicAppendSeparateIntersectionResultFeatureCmd* cmd =
|
||||
new RicAppendSeparateIntersectionResultFeatureCmd( intersectionResCollection );
|
||||
RicAppendSeparateIntersectionResultFeatureCmd* cmd = new RicAppendSeparateIntersectionResultFeatureCmd( intersectionResCollection );
|
||||
caf::CmdExecCommandManager::instance()->processExecuteCommand( cmd );
|
||||
}
|
||||
|
||||
|
||||
@@ -109,9 +109,8 @@ void RicCopyIntersectionsToAllViewsInCaseFeature::setupActionLook( QAction* acti
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicCopyIntersectionsToAllViewsInCaseFeature::copyIntersectionsToOtherViews(
|
||||
RimCase& gridCase,
|
||||
std::vector<RimExtrudedCurveIntersection*> intersections )
|
||||
void RicCopyIntersectionsToAllViewsInCaseFeature::copyIntersectionsToOtherViews( RimCase& gridCase,
|
||||
std::vector<RimExtrudedCurveIntersection*> intersections )
|
||||
{
|
||||
for ( RimExtrudedCurveIntersection* intersection : intersections )
|
||||
{
|
||||
@@ -142,9 +141,8 @@ void RicCopyIntersectionsToAllViewsInCaseFeature::copyIntersectionsToOtherViews(
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicCopyIntersectionsToAllViewsInCaseFeature::copyIntersectionBoxesToOtherViews(
|
||||
RimCase& gridCase,
|
||||
std::vector<RimBoxIntersection*> intersectionBoxes )
|
||||
void RicCopyIntersectionsToAllViewsInCaseFeature::copyIntersectionBoxesToOtherViews( RimCase& gridCase,
|
||||
std::vector<RimBoxIntersection*> intersectionBoxes )
|
||||
{
|
||||
for ( RimBoxIntersection* intersectionBox : intersectionBoxes )
|
||||
{
|
||||
|
||||
@@ -63,8 +63,7 @@ void RicNewAzimuthDipIntersectionFeature::onActionTriggered( bool isChecked )
|
||||
RimGridView* activeView = RiaApplication::instance()->activeMainOrComparisonGridView();
|
||||
if ( !activeView ) return;
|
||||
|
||||
RicNewAzimuthDipIntersectionFeatureCmd* cmd =
|
||||
new RicNewAzimuthDipIntersectionFeatureCmd( activeView->intersectionCollection() );
|
||||
RicNewAzimuthDipIntersectionFeatureCmd* cmd = new RicNewAzimuthDipIntersectionFeatureCmd( activeView->intersectionCollection() );
|
||||
caf::CmdExecCommandManager::instance()->processExecuteCommand( cmd );
|
||||
}
|
||||
|
||||
|
||||
@@ -62,8 +62,7 @@ void RicNewPolylineIntersectionFeature::onActionTriggered( bool isChecked )
|
||||
RimGridView* activeView = RiaApplication::instance()->activeMainOrComparisonGridView();
|
||||
if ( !activeView ) return;
|
||||
|
||||
RicNewPolylineIntersectionFeatureCmd* cmd =
|
||||
new RicNewPolylineIntersectionFeatureCmd( activeView->intersectionCollection() );
|
||||
RicNewPolylineIntersectionFeatureCmd* cmd = new RicNewPolylineIntersectionFeatureCmd( activeView->intersectionCollection() );
|
||||
caf::CmdExecCommandManager::instance()->processExecuteCommand( cmd );
|
||||
}
|
||||
|
||||
|
||||
@@ -72,8 +72,7 @@ void RicNewSimWellIntersectionFeature::setupActionLook( QAction* actionToSetup )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RicNewSimWellIntersectionCmd::RicNewSimWellIntersectionCmd( RimIntersectionCollection* intersectionCollection,
|
||||
RimSimWellInView* simWell )
|
||||
RicNewSimWellIntersectionCmd::RicNewSimWellIntersectionCmd( RimIntersectionCollection* intersectionCollection, RimSimWellInView* simWell )
|
||||
: CmdExecuteCommand( nullptr )
|
||||
, m_intersectionCollection( intersectionCollection )
|
||||
, m_simWell( simWell )
|
||||
|
||||
@@ -64,8 +64,7 @@ void RicNewWellPathIntersectionFeature::onActionTriggered( bool isChecked )
|
||||
|
||||
RimWellPath* wellPath = collection[0];
|
||||
|
||||
RicNewWellPathIntersectionFeatureCmd* cmd =
|
||||
new RicNewWellPathIntersectionFeatureCmd( activeView->intersectionCollection(), wellPath );
|
||||
RicNewWellPathIntersectionFeatureCmd* cmd = new RicNewWellPathIntersectionFeatureCmd( activeView->intersectionCollection(), wellPath );
|
||||
caf::CmdExecCommandManager::instance()->processExecuteCommand( cmd );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user