Add an assert to check if a pointer is good.
--HG-- branch : develop
This commit is contained in:
parent
45e148b606
commit
01dc686827
|
@ -331,6 +331,7 @@ VContainer VPattern::GetCompleteData() const
|
|||
}
|
||||
|
||||
const VDataTool *vTool = tools.value(id);
|
||||
SCASSERT(vTool != nullptr)
|
||||
VContainer lastData = vTool->getData();
|
||||
//Delete special variables if exist
|
||||
lastData.RemoveVariable(currentLength);
|
||||
|
|
Loading…
Reference in New Issue
Block a user