| 66 | } |
| 67 | |
| 68 | void ThreadResult::getNextFile(const FileWithDetails*& file) |
| 69 | { |
| 70 | std::lock_guard<std::mutex> locker(mutex); |
| 71 | file = nullptr; |
| 72 | if (mItNextFile == mFiles.cend()) { |
| 73 | return; |
| 74 | } |
| 75 | file = &(*mItNextFile); |
| 76 | ++mItNextFile; |
| 77 | } |
| 78 | |
| 79 | void ThreadResult::getNextFileSettings(const FileSettings*& fs) |
| 80 | { |