Added clear method to make sure all objects are destroyed.

p4#: 20828
This commit is contained in:
Magne Sjaastad
2013-03-08 08:36:30 +01:00
parent 0a02805a8f
commit 9605a1eec9
3 changed files with 11 additions and 4 deletions

View File

@@ -88,6 +88,14 @@ bool RigGridCollection::isEqual(RigMainGrid* gridA, RigMainGrid* gridB)
return true;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RigGridCollection::clear()
{
m_caseToGrid.clear();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------