merge ProFunction into ProCondition

there is no point in the split, given that there is nothing virtual any
more.
This commit is contained in:
Oswald Buddenhagen
2010-04-09 11:23:00 +02:00
parent 295e07eadc
commit f1b591bb06
3 changed files with 32 additions and 61 deletions

View File

@@ -47,7 +47,6 @@ ProBlock::~ProBlock()
nitm = itm->m_next;
switch (itm->kind()) {
case BlockKind: static_cast<ProBlock *>(itm)->deref(); break;
case FunctionKind: delete static_cast<ProFunction *>(itm); break;
case ConditionKind: delete static_cast<ProCondition *>(itm); break;
case OperatorKind: delete static_cast<ProOperator *>(itm); break;
case VariableKind: delete static_cast<ProVariable *>(itm); break;