Clean up iterator in generic for loop
continuous-integration/drone/push Build is passing

This commit is contained in:
Deukhoofd committed 2019-06-27 14:27:31 +02:00
1 parent 9727c9365e
commit 46197e0a6e
2 files changed
+2

No files matched your search

+1
View File
@@ -174,6 +174,7 @@ namespace Porygon::Evaluation {
}
this -> EvaluateBlockStatement(block);
}
delete iterator;
}
/////////////////
+1
View File
@@ -13,6 +13,7 @@ namespace Porygon::Evaluation{
virtual shared_ptr<EvalValue> GetCurrent() = 0;
virtual bool MoveNext() = 0;
virtual void Reset() = 0;
virtual ~Iterator(){}
};
}