| 145 | template <typename Callable> |
| 146 | struct SimpleTask : public Task { |
| 147 | SimpleTask(Callable callable, std::string_view name) |
| 148 | : callable(std::move(callable)), name_(name) {} |
| 149 | SimpleTask(Callable callable, std::string name) |
| 150 | : callable(std::move(callable)), owned_name_(std::move(name)) { |
| 151 | name_ = *owned_name_; |
nothing calls this directly
no outgoing calls
no test coverage detected