| 51 | } |
| 52 | |
| 53 | void ThreadResult::reportErr(const ErrorMessage &msg) |
| 54 | { |
| 55 | std::lock_guard<std::mutex> locker(mutex); |
| 56 | const ErrorItem item(msg); |
| 57 | if (msg.severity != Severity::debug) |
| 58 | emit error(item); |
| 59 | else |
| 60 | emit debugError(item); |
| 61 | } |
| 62 | |
| 63 | // NOLINTNEXTLINE(readability-avoid-const-params-in-decls) - false positive this is an overload |
| 64 | void ThreadResult::reportProgress(const std::string &filename, const char stage[], const std::size_t value) { |