mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 18:32:10 -05:00
clang-format: Set column width to 140
* Set column width to 140 * Use c++20 * Remove redundant virtual
This commit is contained in:
1 parent
8768e186d8
commit
f8c5cf389f
1535 files changed
+10456
-19398
No files matched your search
@@ -224,9 +224,8 @@ void RimFractureTemplateCollection::createAndAssignTemplateCopyForNonMatchingUni
|
||||
{
|
||||
if ( !templateWithMatchingUnit )
|
||||
{
|
||||
templateWithMatchingUnit =
|
||||
dynamic_cast<RimFractureTemplate*>( fractureTemplate->xmlCapability()->copyByXmlSerialization(
|
||||
caf::PdmDefaultObjectFactory::instance() ) );
|
||||
templateWithMatchingUnit = dynamic_cast<RimFractureTemplate*>(
|
||||
fractureTemplate->xmlCapability()->copyByXmlSerialization( caf::PdmDefaultObjectFactory::instance() ) );
|
||||
|
||||
auto currentUnit = fractureTemplate->fractureTemplateUnit();
|
||||
auto neededUnit = RiaDefines::EclipseUnitSystem::UNITS_UNKNOWN;
|
||||
@@ -248,9 +247,8 @@ void RimFractureTemplateCollection::createAndAssignTemplateCopyForNonMatchingUni
|
||||
templatesToBeAdded.push_back( templateWithMatchingUnit );
|
||||
}
|
||||
|
||||
RiaLogging::warning(
|
||||
"Detected fracture with different unit than fracture template. Creating copy of template "
|
||||
"with matching unit." );
|
||||
RiaLogging::warning( "Detected fracture with different unit than fracture template. Creating copy of template "
|
||||
"with matching unit." );
|
||||
|
||||
CVF_ASSERT( templateWithMatchingUnit->fractureTemplateUnit() == fracture->fractureUnit() );
|
||||
fracture->setFractureTemplateNoUpdate( templateWithMatchingUnit );
|
||||
|
||||
Reference in new issue
Block a user