diff --git a/src/factory/WFAlgoTaskFactory.inl b/src/factory/WFAlgoTaskFactory.inl index b3879419..36d26fc6 100644 --- a/src/factory/WFAlgoTaskFactory.inl +++ b/src/factory/WFAlgoTaskFactory.inl @@ -92,7 +92,7 @@ void __WFMergeTask::execute() else { output->last = std::merge(input->first1, input->last1, - input->first2, input->first2, + input->first2, input->last2, input->d_first); } @@ -252,7 +252,7 @@ void __WFMergeTaskCmp::execute() else { output->last = std::merge(input->first1, input->last1, - input->first2, input->first2, + input->first2, input->last2, input->d_first, std::move(this->compare)); }