Automatic deleting functors, only if necessary.
This commit is contained in:
parent
d805800731
commit
108c0bcf35
4 changed files with 60 additions and 20 deletions
|
|
@ -27,7 +27,6 @@ namespace eo
|
|||
|
||||
~ProcessTaskParallelEval()
|
||||
{
|
||||
delete _wrapped;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -39,7 +38,6 @@ namespace eo
|
|||
ParallelEvalStore(
|
||||
eoUF<EOT&, void> & _proc,
|
||||
int _masterRank,
|
||||
// long _maxTime = 0,
|
||||
int _packetSize = 1
|
||||
) :
|
||||
ParallelApplyStore< EOT >( _proc, *( new std::vector<EOT> ), _masterRank, _packetSize )
|
||||
|
|
|
|||
Reference in a new issue