This commit is contained in:
2 files changed
+5
No files matched your search
@@ -49,6 +49,10 @@ namespace Porygon::Evaluation {
|
||||
_hash(hash), _options(new vector<shared_ptr<GenericFunctionOption>>()){
|
||||
}
|
||||
|
||||
~GenericFunctionEvalValue() final{
|
||||
delete _options;
|
||||
}
|
||||
|
||||
GenericFunctionEvalValue(const GenericFunctionEvalValue& _) = delete;
|
||||
GenericFunctionEvalValue() = delete;
|
||||
GenericFunctionEvalValue& operator =(GenericFunctionEvalValue v) = delete;
|
||||
|
||||
@@ -67,6 +67,7 @@ namespace Porygon {
|
||||
for (auto o: *_options){
|
||||
delete o;
|
||||
}
|
||||
delete _options;
|
||||
}
|
||||
|
||||
void RegisterFunctionOption (GenericFunctionOption * opt) const{
|
||||
|
||||
Reference in new issue
Block a user