mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Use naked pointer to access RigFracture
This commit is contained in:
@@ -478,9 +478,11 @@ void RimFracture::defineEditorAttribute(const caf::PdmFieldHandle* field, QStrin
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
cvf::ref<RigFracture> RimFracture::attachedRigFracture() const
|
||||
const RigFracture* RimFracture::attachedRigFracture() const
|
||||
{
|
||||
return m_rigFracture;
|
||||
CVF_ASSERT(m_rigFracture.notNull());
|
||||
|
||||
return m_rigFracture.p();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
cvf::Mat4f transformMatrix();
|
||||
|
||||
virtual RimEllipseFractureTemplate* attachedFractureDefinition() = 0;
|
||||
cvf::ref<RigFracture> attachedRigFracture() const;
|
||||
const RigFracture* attachedRigFracture() const;
|
||||
|
||||
RivWellFracturePartMgr* fracturePartManager();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user