Commit 9f7fe0d9 by FritzFlorian

Fix compiler warnings.

parent 00355880
...@@ -36,7 +36,7 @@ namespace pls { ...@@ -36,7 +36,7 @@ namespace pls {
} }
} }
bool my_stealing(abstract_task *other_task) override { bool my_stealing(abstract_task* /*other_task*/) override {
return false; return false;
} }
}; };
......
...@@ -22,7 +22,7 @@ namespace pls { ...@@ -22,7 +22,7 @@ namespace pls {
} while (!master_task_->finished()); } while (!master_task_->finished());
} }
bool my_stealing(abstract_task *other_task) override { bool my_stealing(abstract_task* /*other_task*/) override {
return false; return false;
} }
}; };
......
...@@ -44,7 +44,7 @@ namespace pls { ...@@ -44,7 +44,7 @@ namespace pls {
base::barrier sync_barrier_; base::barrier sync_barrier_;
bool terminated_; bool terminated_;
public: public:
scheduler(const unsigned int num_threads): explicit scheduler(const unsigned int num_threads):
num_threads_{num_threads}, num_threads_{num_threads},
sync_barrier_{num_threads + 1}, sync_barrier_{num_threads + 1},
terminated_{false} { terminated_{false} {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment