| 167 | } |
| 168 | |
| 169 | void readActiveCheckers() { |
| 170 | if (mCheckersFile.empty()) |
| 171 | return; |
| 172 | |
| 173 | std::ifstream fin(mCheckersFile); |
| 174 | if (fin.is_open()) |
| 175 | { |
| 176 | std::set<std::string> activeCheckers; |
| 177 | std::string line; |
| 178 | while (std::getline(fin, line)) |
| 179 | { |
| 180 | activeCheckers.emplace(std::move(line)); |
| 181 | } |
| 182 | mActiveCheckers = std::move(activeCheckers); |
| 183 | } |
| 184 | } |
| 185 | |
| 186 | private: |
| 187 | /** |
no test coverage detected