| 56 | } |
| 57 | |
| 58 | void PreprocessorCache::removeCacheKey(const PreprocessorCacheKey& key) { |
| 59 | std::lock_guard<Mutex> guard(_mutex); |
| 60 | const auto& it = _cache.find(key); |
| 61 | if (it != _cache.end()) { |
| 62 | _cache.erase(key); |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | void PreprocessorCache::clear() { |
| 67 | std::lock_guard<Mutex> guard(_mutex); |
no test coverage detected