We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29a1186 commit e56d675Copy full SHA for e56d675
1 file changed
src/factory/Workflow.h
@@ -258,11 +258,11 @@ class ParallelWork : public ParallelTask
258
size_t size() const { return this->subtasks_nr; }
259
260
public:
261
- SeriesWork *begin() { return this->series_at(0); }
262
- SeriesWork *end() { return this->all_series + this->subtasks_nr;}
+ SeriesWork **begin() { return this->all_series; }
+ SeriesWork **end() { return this->all_series + this->subtasks_nr; }
263
264
- const SeriesWork *begin() const { return this->series_at(0);}
265
- const SeriesWork *end() const { return this->all_series + this->subtasks_nr;}
+ const SeriesWork **begin() const { return this->all_series; }
+ const SeriesWork **end() const { return this->all_series + this->subtasks_nr; }
266
267
268
void set_callback(parallel_callback_t callback)
0 commit comments