| 33 | |
| 34 | template<typename TDatums> |
| 35 | void WorkerProducer<TDatums>::work(TDatums& tDatums) |
| 36 | { |
| 37 | try |
| 38 | { |
| 39 | tDatums = std::move(workProducer()); |
| 40 | } |
| 41 | catch (const std::exception& e) |
| 42 | { |
| 43 | this->stop(); |
| 44 | errorWorker(e.what(), __LINE__, __FUNCTION__, __FILE__); |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | COMPILE_TEMPLATE_DATUM(WorkerProducer); |
| 49 | } |
nothing calls this directly
no test coverage detected