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:
@@ -52,8 +52,7 @@ bool RicPasteIntersectionsFeature::isCommandEnabled()
|
||||
return false;
|
||||
}
|
||||
|
||||
caf::PdmObjectHandle* destinationObject =
|
||||
dynamic_cast<caf::PdmObjectHandle*>( caf::SelectionManager::instance()->selectedItem() );
|
||||
caf::PdmObjectHandle* destinationObject = dynamic_cast<caf::PdmObjectHandle*>( caf::SelectionManager::instance()->selectedItem() );
|
||||
|
||||
if ( findIntersectionCollection( destinationObject ) )
|
||||
{
|
||||
@@ -68,11 +67,9 @@ bool RicPasteIntersectionsFeature::isCommandEnabled()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicPasteIntersectionsFeature::onActionTriggered( bool isChecked )
|
||||
{
|
||||
caf::PdmObjectHandle* destinationObject =
|
||||
dynamic_cast<caf::PdmObjectHandle*>( caf::SelectionManager::instance()->selectedItem() );
|
||||
caf::PdmObjectHandle* destinationObject = dynamic_cast<caf::PdmObjectHandle*>( caf::SelectionManager::instance()->selectedItem() );
|
||||
|
||||
RimIntersectionCollection* intersectionCollection =
|
||||
RicPasteIntersectionsFeature::findIntersectionCollection( destinationObject );
|
||||
RimIntersectionCollection* intersectionCollection = RicPasteIntersectionsFeature::findIntersectionCollection( destinationObject );
|
||||
|
||||
CAF_ASSERT( intersectionCollection );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user