MPI job functors have to be created with new, so as to be deleted by delete, because of Composite / Decorator pattern.
This commit is contained in:
parent
008f2571b2
commit
472b86bc68
3 changed files with 12 additions and 45 deletions
|
|
@ -194,10 +194,6 @@ namespace eo
|
|||
|
||||
virtual ~ParallelApplyStore()
|
||||
{
|
||||
delete _stf;
|
||||
delete _hrf;
|
||||
delete _ptf;
|
||||
delete _iff;
|
||||
}
|
||||
|
||||
protected:
|
||||
|
|
|
|||
Reference in a new issue